QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#55447#1. I/O Testjames1BadCreeper100 418ms2020kbC++20578b2022-10-13 19:42:152022-10-13 19:42:20

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-10-13 19:42:20]
  • 评测
  • 测评结果:100
  • 用时:418ms
  • 内存:2020kb
  • [2022-10-13 19:42:15]
  • 提交

config.txt

10000000 10000000

input_test

#include <cstdio>
#pragma GCC optimize("Ofast")

inline void read(int &x)
{
	int c = getchar(); x = 0;
	while (c < '0' || c > '9') c = getchar();
	while (c >= '0' && c <= '9') x = (x << 3) + (x << 1) + (c ^ 48), c = getchar();
}

int main(void)
{
	int n;
	read(n);
	int x;
	long long ans = 0;
	while (n--)
	{
		read(x);
		ans += x;
	}
	printf("%lld\n", ans);
	return 0;
}

output_test

#include <cstdio>
#pragma GCC optimize("Ofast")

int main(void)
{
	int n;
	scanf("%d", &n);
	while (n--)
		printf("10000000 ");
	putchar('\n');
	return 0;
}

详细

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 418ms
memory: 2020kb

input:

10000000
859185531 219368758 951138888 978979118 271040480 504752360 804523577 766457836 165861608 876251242 331593523 942406058 523958186 531945162 582375994 524545290 266274411 957125121 352585487 754299326 622904661 357206295 806804069 322405896 580847014 261661356 302716843 563282749 472761072 4...

output:

5500032135986804

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 375ms
memory: 1788kb

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]