QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#714253 | #1. I/O Test | Core_65536 | 200 ✓ | 562ms | 3708kb | C++23 | 715b | 2024-11-05 22:16:21 | 2024-11-05 22:16:22 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
int main(){
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
register int n; cin>>n;
register long long ans = 0;
while(n--){
register long long x; cin>>x;
ans += x;
}
cout<<ans<<endl;
}
output_test
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
int main(){
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
register int n; cin>>n;
while(n--){
cout<<100000000<<endl;
}
// register long long ans = 0;
// while(n--){
// register long long x; cin>>x;
// ans += x;
// }
// cout<<ans<<endl;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 562ms
memory: 3704kb
input:
10000000 865885612 785670795 103128071 670178435 590059248 476414098 919601565 895986709 187393701 135239134 239076370 506330525 936991602 432182397 866339168 756376431 198930313 277990344 172235855 383182510 345871385 873016609 946402029 236430737 135967699 488677241 997005917 243423110 771961501 5...
output:
5500618826770475
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 441ms
memory: 3708kb
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