QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#500766#1. I/O Testbribritt200 ✓528ms3716kbC++14384b2024-08-01 19:48:042024-08-01 19:48:06

Judging History

你现在查看的是最新测评结果

  • [2024-08-01 19:48:06]
  • 评测
  • 测评结果:200
  • 用时:528ms
  • 内存:3716kb
  • [2024-08-01 19:48:04]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>
using namespace std;
main() {
	ios_base::sync_with_stdio(0); cin.tie(0);
	int n; cin >> n;
	long long s = 0; int a;
	for(int i=0;i<n;i++) {cin>>a; s+=a;}
	cout << s;
}

output_test

#include <bits/stdc++.h>
using namespace std;
main() {
	ios_base::sync_with_stdio(0); cin.tie(0);
	int n; cin >> n;
	for(int i=0;i<n;i++) cout << "121042069 ";
}

详细

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 528ms
memory: 3560kb

input:

10000000
322973883 783532007 560305753 650583022 745270404 468660320 767770088 699578635 559485521 394167831 799054164 210632191 533785277 484504514 791972286 277674767 748651546 820808305 912627838 341087328 946707058 632227574 644216588 363365179 347153189 628565703 574652746 807419888 888563798 1...

output:

5498820699625638

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 117ms
memory: 3716kb

input:

10000000

output:

121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 121042069 ...

result:

points 1.0 output test passed