QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#686171 | #1. I/O Test | elaijuh | 200 ✓ | 603ms | 1544kb | C11 | 388b | 2024-10-29 04:18:38 | 2024-10-29 04:18:39 |
Judging History
config.txt
10000000 10000000
input_test
#include "stdio.h"
int main() {
int n, m;
long long ans = 0;
scanf("%d", &n);
while (n--) {
scanf("%d", &m);
ans += m;
}
printf("%lld\n", ans);
return 0;
}
output_test
#include "stdio.h"
int main() {
int n = 100000000;
for (int i = 0; i < 10000000; ++i) {
printf("%d\n", n);
}
return 0;
}
詳細信息
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 603ms
memory: 1544kb
input:
10000000 731540197 695429850 559621838 410459307 621416714 921663106 785594659 691217745 512196157 810883342 136772044 244709154 187079089 547637572 668848204 711318736 697442505 137128653 993660244 333615382 977384693 363789743 900800657 834899549 661881106 361414297 759209880 942887067 583120199 8...
output:
5500001931308394
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 452ms
memory: 1500kb
input:
10000000
output:
100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...
result:
points 1.0 output test passed