QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#826406 | #1. I/O Test | I_like_magic | 0 | 237ms | 3596kb | C++14 | 689b | 2024-12-22 10:15:15 | 2024-12-22 10:15:17 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
using namespace std;
inline int read() {
int res = 0, f = 1; char c = getchar();
while(c != '-' && (c < '0' || c > '9')) c = getchar();
if(c == '-') f = -1, c = getchar();
while(c >= '0' && c <= '9') res = res * 10 + c - '0', c = getchar();
return res * f;
}
int main() {
int n = read();
int ans = 0;
for(int i = 1; i <= n; i ++) {
int a;
a = read();
ans += a;
}
cout << ans;
}
output_test
#include<bits/stdc++.h>
using namespace std;
int main() {
int t = 10000000;
while(t--) {
int i = 8;
while(i --) putchar('1');
putchar('\n');
}
}
详细
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 237ms
memory: 3588kb
input:
10000000 424200567 970116907 642682537 769684923 739530380 758850479 684131773 181534637 729993808 848942697 246223363 205550312 199880785 559737785 113320024 574408450 761619075 449610353 241680187 628080198 764846127 152334389 888454509 810480401 321619843 494892680 582552659 953617633 743842630 1...
output:
611352005
result:
wrong answer expected 5500475033025989, found 611352005
Subtask #2:
score: 0
Wrong Answer
Test #2:
score: 0
Wrong Answer
time: 232ms
memory: 3596kb
input:
10000000
output:
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 111...
result:
wrong answer Integer 11111111 violates the range [10^8, 999999999]