QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#116036 | #1. I/O Test | momoyuu | 100 | 516ms | 3488kb | C++17 | 763b | 2023-06-27 23:56:47 | 2023-06-27 23:56:49 |
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<<" "l;
}
// cout<<sum<<endl;
}
詳細信息
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 516ms
memory: 3488kb
input:
10000000 832606654 894471980 577049275 259916346 598776824 291115790 309744893 316148048 658503127 164794546 926284665 169125816 589111104 359566564 715104146 444082910 434303766 346352378 207467546 126255134 235887153 533341653 940390835 827446584 311506434 707577429 132805629 943357679 689431874 7...
output:
5498214152622858
result:
points 1.0 input test passed
Subtask #2:
score: 0
output_test Judgement Failed
Test #2:
score: 0
output_test Judgement Failed
input:
10000000