QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#139979 | #1. I/O Test | cyc001 | 200 ✓ | 480ms | 3608kb | C++23 | 516b | 2023-08-14 20:53:50 | 2023-08-14 20:53:51 |
Judging History
config.txt
10000000 10000000
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: 480ms
memory: 3608kb
input:
10000000 269456688 324882865 824334581 421037623 306451505 649025263 159057259 701476430 210043270 615650077 234193479 830826554 191344412 888226179 943063576 869763767 717560391 606679333 201788670 237757648 625020085 467720369 508620598 748038643 138476069 495656262 307836746 206869165 799560173 6...
output:
5501018861742397
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 111ms
memory: 3480kb
input:
10000000
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 1.0 output test passed