QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#698985#1. I/O TestTheZone200 ✓558ms3624kbC++20363b2024-11-01 23:32:532024-11-01 23:32:53

Judging History

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

  • [2024-11-01 23:32:53]
  • 评测
  • 测评结果:200
  • 用时:558ms
  • 内存:3624kb
  • [2024-11-01 23:32:53]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
using namespace std;long long n,ans,x;int main(){cin.tie(nullptr)->sync_with_stdio(false);cin>>n;for(int i=1;i<=n;i++) cin>>x,ans+=x;cout<<ans;return 0;}

output_test

#include<bits/stdc++.h>
using namespace std;const int N=100000000;int n;int main(){cin.tie(nullptr)->sync_with_stdio(false);cin>>n;while(n--) cout<<N<<' ';return 0;}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 558ms
memory: 3624kb

input:

10000000
145038286 635105064 802142015 287648052 954126204 459731509 464804359 106962812 612349175 918258593 479422399 808110791 325687025 378531639 319669247 904818166 785665525 195030527 485644530 153657730 694096313 286225185 315120457 820062173 177113844 447786356 217125224 457061634 151294747 6...

output:

5500616063260242

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 431ms
memory: 3624kb

input:

10000000

output:

100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...

result:

points 1.0 output test passed