QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#116027 | #1. I/O Test | momoyuu | 100 | 524ms | 3480kb | C++17 | 751b | 2023-06-27 23:49:27 | 2023-06-27 23:49:28 |
Judging History
config.txt
10000000 10000000
input_test
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cassert>
using namespace std;
using ll = long long;
int main(){
cin.tie(nullptr);
ios::sync_with_stdio(false);
int n;
cin>>n;
ll sum = 0;
for(int i = 0;i<n;i++){
ll a;
cin>>a;
sum += a;
}
cout<<sum<<endl;
}
output_test
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cassert>
using namespace std;
using ll = long long;
int main(){
cin.tie(nullptr);
ios::sync_with_stdio(false);
int n;
cin>>n;
ll sum = 0;
for(int i = 0;i<n;i++){
ll a;
cin>>a;
sum += a;
}
cout<<sum<<endl;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 524ms
memory: 3408kb
input:
10000000 801543274 986125687 284251075 332239808 600278885 690303482 826090769 412753075 753674821 375448235 408853884 481766130 294237622 380966908 247064444 967631274 422726054 103027495 408644172 575673797 102855715 596680258 925191728 548707014 788149677 931926753 627107734 402551330 622860053 6...
output:
5499629289512955
result:
points 1.0 input test passed
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 61ms
memory: 3480kb
input:
10000000
output:
3502481824394077184
result:
wrong output format Expected int32, but "3502481824394077184" found