QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#116033 | #1. I/O Test | momoyuu | 100 | 510ms | 3400kb | C++17 | 760b | 2023-06-27 23:54:47 | 2023-06-27 23:54: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<<" "l;
}
// cout<<sum<<endl;
}
详细
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 510ms
memory: 3400kb
input:
10000000 461066700 620290929 261192950 581844759 957681002 292054051 747095545 505604831 396468737 578837070 160622011 872290666 408653283 238257851 429987180 900319475 380457071 960562870 610413871 629329746 537324162 911809573 730722619 660057819 984529884 779823131 119364038 850885907 414840779 4...
output:
5500058365617440
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