QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#282770#1. I/O Testucup-team1769100 410ms3392kbC++20484b2023-12-13 01:13:282023-12-13 01:13:29

Judging History

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

  • [2023-12-13 01:13:29]
  • 评测
  • 测评结果:100
  • 用时:410ms
  • 内存:3392kb
  • [2023-12-13 01:13:28]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>

int main() {
	std::ios::sync_with_stdio(false);
	std::cin.tie(nullptr);

	i64 ans = 0;
	int n;
	std::cin >> n;
	for (int i = 0; i < n; i++) {
		int x;
		std::cin >> x;
		ans += x;
	}

	std::cout << ans << "\n";
}

output_test

#include <bits/stdc++.h>

int main() {
	std::ios::sync_with_stdio(false);
	std::cin.tie(nullptr);
	int x = 100000000;
	for (int i = 0; i < 10000000; i++) {
		std::cout << x + i << " \n"[i == 999999];
	}
}

詳細信息

Subtask #1:

score: 0
input_test Judgement Failed

Test #1:

score: 0
input_test Judgement Failed

input:

10000000
769440479 491428152 602912507 252084779 432318078 534854757 887546907 399091598 625977212 884464946 443124827 275523650 216435976 953099664 178875355 847636529 844113457 393463785 482000791 477976921 267779086 907297809 236411562 836617736 770780191 523251212 892705197 309208402 671114831 2...

output:


result:


Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 410ms
memory: 3392kb

input:

10000000

output:

100000000 100000001 100000002 100000003 100000004 100000005 100000006 100000007 100000008 100000009 100000010 100000011 100000012 100000013 100000014 100000015 100000016 100000017 100000018 100000019 100000020 100000021 100000022 100000023 100000024 100000025 100000026 100000027 100000028 100000029 ...

result:

points 1.0 output test passed