QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#220456 | #1. I/O Test | Summer_Sheep | 200 ✓ | 492ms | 3536kb | C++14 | 473b | 2023-10-20 13:28:06 | 2023-10-20 13:28:08 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
int n;
cin>>n;
int ans=0;
for(int i=1;i<=n;++i){
int x;
cin>>x;
ans+=x;
}
cout<<ans<<endl;
return 0;
}
output_test
#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
for(int i=1;i<=10000000;++i){
cout<<999999999<<" ";
}
cout<<endl;
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 490ms
memory: 3440kb
input:
10000000 779809303 757325919 805176958 591876869 225243809 957253909 734884344 493346479 321925105 785578993 300059512 917097611 158122007 583322423 861573681 704981554 367230244 745151182 898310584 837852801 648263747 644688778 403977889 334792947 996314260 231528954 331498875 786269390 610542049 1...
output:
5499971652179438
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 492ms
memory: 3536kb
input:
10000000
output:
999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 999999999 ...
result:
points 1.0 output test passed