QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#116028 | #1. I/O Test | momoyuu | 100 | 511ms | 3348kb | C++17 | 758b | 2023-06-27 23:50:56 | 2023-06-27 23:50:58 |
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<<a<<endl;
}
// cout<<sum<<endl;
}
詳細信息
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 511ms
memory: 3348kb
input:
10000000 443492159 655070167 366054408 257694686 624654062 484831898 861093214 303963643 640698765 221544064 514880763 166897869 859242987 315535975 293538877 229714029 481367628 205292643 700122585 231171986 492783805 817009208 460946856 846224791 647199102 582596103 138062148 784925809 329291680 5...
output:
5500561064597542
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:
175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537219 175646982537...