QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#542950 | #1. I/O Test | sun_vitamessage | 10 | 51ms | 3652kb | C++14 | 399b | 2024-09-01 11:31:42 | 2024-09-01 11:31:43 |
Judging History
config.txt
1000000 1000000
input_test
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
long long ans=0;
int n;
cin>>n;
for(int i=1;i<=n;i++)
{
int x;
cin>>x;
ans+=x;
}
cout<<ans<<endl;
return 0;
}
output_test
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
for(int i=0;i<n;i++){
cout<<1000000<<' ';
}
return 0;
}
詳細信息
Subtask #1:
score: 10
Acceptable Answer
Test #1:
score: 10
Acceptable Answer
time: 51ms
memory: 3652kb
input:
1000000 320487374 737340368 734528560 263822388 453499689 607963511 641615317 650056352 607450477 341174798 674096596 694336884 794583726 970114489 461788772 387398341 977193729 680692184 333659791 516648098 449689769 998638293 897940030 933334957 235793157 203239748 600329625 313364570 437956832 67...
output:
549956674806401
result:
points 0.10 input test passed
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 49ms
memory: 3632kb
input:
1000000
output:
1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000...
result:
wrong answer Integer 1000000 violates the range [10^8, 999999999]