QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#139980 | #1. I/O Test | cyc001 | 2.0E-5 | 1ms | 3480kb | C++23 | 502b | 2023-08-14 20:54:29 | 2023-08-14 20:54:31 |
Judging History
config.txt
1 1
input_test
#include<bits/stdc++.h>
#define cir(i,a,b) for(int i=a;i<b;++i)
using lint=long long;
using namespace std;
int main(){
ios::sync_with_stdio(false),cin.tie(0);
int n;cin>>n;
lint cnx=0;
cir(i,0,n){
lint x;cin>>x;
cnx+=x;
}
cout<<cnx<<'\n';
return 0;
}
output_test
#include<bits/stdc++.h>
#define cir(i,a,b) for(int i=a;i<b;++i)
using namespace std;
int main(){
ios::sync_with_stdio(false),cin.tie(0);
int n;cin>>n;
cir(i,0,n) cout<<"114514666 ";
cout<<'\n';
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 1e-05
Acceptable Answer
Test #1:
score: 1e-05
Acceptable Answer
time: 1ms
memory: 3480kb
input:
1 742355409
output:
742355409
result:
points 0.00000010 input test passed
Subtask #2:
score: 1e-05
Acceptable Answer
Test #2:
score: 1e-05
Acceptable Answer
time: 1ms
memory: 3376kb
input:
1
output:
114514666
result:
points 0.00000010 output test passed