QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#116037 | #1. I/O Test | momoyuu | 200 ✓ | 523ms | 3416kb | C++17 | 762b | 2023-06-27 23:57:10 | 2023-06-27 23:57:11 |
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;
cout<<n*10<<" ";
}
// 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: 523ms
memory: 3416kb
input:
10000000 847223881 116813843 223644881 302510545 102481383 216607786 975457284 359446096 539379697 465857138 103136936 261453563 606709441 598306942 260509859 919190846 592427914 237306717 495594529 346360121 757735267 133263883 761814413 728605141 610683094 968805674 749605537 103516822 683200127 6...
output:
5501813991118066
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 450ms
memory: 3344kb
input:
10000000
output:
100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...
result:
points 1.0 output test passed