QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#714246 | #1. I/O Test | Core_65536 | 100 | 562ms | 3640kb | C++23 | 714b | 2024-11-05 22:14:58 | 2024-11-05 22:15:06 |
Judging History
config.txt
10000000 10000000
input_test
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
int main(){
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
register int n; cin>>n;
register long long ans = 0;
while(n--){
register long long x; cin>>x;
ans += x;
}
cout<<ans<<endl;
}
output_test
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
int main(){
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
register int n; cin>>n;
while(n--){
cout<<10000000<<endl;
}
// register long long ans = 0;
// while(n--){
// register long long x; cin>>x;
// ans += x;
// }
// cout<<ans<<endl;
}
详细
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 562ms
memory: 3640kb
input:
10000000 183661850 151147280 324919819 682538465 987326546 605597697 245363872 254209304 232280136 569055433 869221797 228995866 625570016 812545418 690821508 549502746 102384277 905661905 720008345 882460691 100204708 466425697 428348660 908761989 862500598 896104996 787179625 801273537 798941580 5...
output:
5500125693528916
result:
points 1.0 input test passed
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 429ms
memory: 3640kb
input:
10000000
output:
10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 10000000 100...
result:
wrong answer Integer 10000000 violates the range [10^8, 999999999]