QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#864389 | #1. I/O Test | lql | 200 ✓ | 447ms | 3584kb | C++14 | 765b | 2025-01-20 15:44:28 | 2025-01-20 15:44:28 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
#include<bits/extc++.h>
using namespace std;
using namespace __gnu_cxx;
using namespace __gnu_pbds;
#define ll long long
#define elif else if
#define sf scanf
#define pf printf
signed main(){
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
int n;
cin>>n;
ll res=0;
for(int i=1,a;i<=n;i++) cin>>a,res+=a;
cout<<res;
return 0;
}
output_test
#include<bits/stdc++.h>
#include<bits/extc++.h>
using namespace std;
using namespace __gnu_cxx;
using namespace __gnu_pbds;
#define ll long long
#define elif else if
#define sf scanf
#define pf printf
signed main(){
ios::sync_with_stdio(0);
cin.tie(0),cout.tie(0);
int n;
cin>>n;
for(int i=0;i<n;i++) cout<<int(i+1e8*1)<<" ";
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 447ms
memory: 3584kb
input:
10000000 370988078 529308474 958747336 495372873 709113651 771823386 277696638 380807121 268291557 149551907 299676610 927470684 102991566 952075258 817328133 430885337 876926821 312691039 856779332 859966853 174628276 451771079 241779122 381603369 185144040 581510280 294101498 886154401 646778510 2...
output:
5500804232103495
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 424ms
memory: 3584kb
input:
10000000
output:
100000000 100000001 100000002 100000003 100000004 100000005 100000006 100000007 100000008 100000009 100000010 100000011 100000012 100000013 100000014 100000015 100000016 100000017 100000018 100000019 100000020 100000021 100000022 100000023 100000024 100000025 100000026 100000027 100000028 100000029 ...
result:
points 1.0 output test passed