QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#139977 | #1. I/O Test | cyc001 | 110 | 499ms | 3464kb | C++23 | 515b | 2023-08-14 20:52:44 | 2023-08-14 20:52:45 |
Judging History
config.txt
10000000 1000000
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: 100
Accepted
Test #1:
score: 100
Accepted
time: 499ms
memory: 3464kb
input:
10000000 777003395 420304149 359890026 615706978 473438543 779255414 612171047 405916811 312191995 728538482 754263228 474493090 326275846 119989757 790125470 215621984 135307611 632202261 621640860 869085128 636683969 908248067 173570475 882916954 409972211 854950059 223153004 263979053 981204851 1...
output:
5498408975523840
result:
points 1.0 input test passed
Subtask #2:
score: 10
Acceptable Answer
Test #2:
score: 10
Acceptable Answer
time: 17ms
memory: 3456kb
input:
1000000
output:
114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 ...
result:
points 0.10 output test passed