QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#116034 | #1. I/O Test | momoyuu | 100 | 492ms | 3364kb | C++17 | 773b | 2023-06-27 23:54:57 | 2023-06-27 23:54:59 |
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<<endl;
// cout<<sum<<endl;
}
詳細信息
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 492ms
memory: 3364kb
input:
10000000 296191088 648584086 645695478 126316440 375098609 295107389 920588341 182973055 553927105 274752028 657263560 862743669 698788338 736545556 405937855 831399859 726313108 528470330 931892293 522863954 459996784 115703480 131041318 428480657 925740582 114993404 895718843 544581633 815308712 4...
output:
5499707572023579
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