QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#250773 | #1. I/O Test | qwqer233 | 200 ✓ | 486ms | 3380kb | C++14 | 402b | 2023-11-13 17:17:00 | 2023-11-13 17:17:01 |
Judging History
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: 486ms
memory: 3344kb
input:
10000000 632783926 208511055 991632669 359800639 667055070 467545383 931802866 635539921 635229337 348903025 967426933 389152964 752337811 406367262 946787460 346831463 856304236 991069101 477715329 687472447 267669027 364305778 116208522 387134570 296475999 710973421 628400604 919782082 772796899 5...
output:
5500297177681368
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 431ms
memory: 3380kb
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