QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#116029 | #1. I/O Test | momoyuu | 100 | 475ms | 3392kb | C++17 | 760b | 2023-06-27 23:51:27 | 2023-06-27 23:51:29 |
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<<endl;
}
// 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: 475ms
memory: 3392kb
input:
10000000 487497704 711632027 442556118 382342668 870219255 817043825 209018821 886327356 104815706 582218798 300981039 756120164 583162308 492398186 742134831 360724185 217397424 940898416 126053701 921430985 313217876 740005941 786724994 172911306 425529683 709258690 877340613 103052931 968332130 4...
output:
5499791513507164
result:
points 1.0 input test passed
Subtask #2:
score: 0
output_test Time Limit Exceeded
Test #2:
score: 0
output_test Time Limit Exceeded
input:
10000000
output:
10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 100...