QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#420597#8669. 正方形计数yswn0 0ms0kbC++14397b2024-05-24 20:31:152024-05-24 20:31:18

Judging History

你现在查看的是最新测评结果

  • [2024-05-24 20:31:18]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2024-05-24 20:31:15]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
const int MAX=1e5+10;
int a[MAX];
inline int read(){
	int x=0,f=1;char c=getchar();
	while(c>'9'||c<'0'){if(c=='-')f=-1;c=getchar();}
	while(c<='9'&&c>='0'){x=(x<<3)+(x<<1)+(c^48);c=getchar();}
	return x*f;
}
signed main(){
    for(int i=1;i<=90000;++i)
        for(int j=1;j<=90000;++j)
            a[i]+=rand()*i*j;
    cout<<a[1];
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 0
Time Limit Exceeded

input:

4
131 603
131 1828
1919 1828
1919 603

output:


result:


Subtask #2:

score: 0
Time Limit Exceeded

Test #6:

score: 0
Time Limit Exceeded

input:

3
131 603
131 1828
1919 603

output:


result:


Subtask #3:

score: 0
Time Limit Exceeded

Test #11:

score: 0
Time Limit Exceeded

input:

8
0 13
4 15
15 15
15 6
13 1
12 0
5 0
0 6

output:


result:


Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%