QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#53879#1. I/O Testjames1BadCreeperCompile Error//C++17728b2022-10-06 09:57:542022-10-06 09:57:54

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-06 09:57:54]
  • 评测
  • [2022-10-06 09:57:54]
  • 提交

config.txt

10000000

input_test

#include <iostream>
#include <cstdio>

using namespace std;

int n;

inline void read(int &x)
{
	int c = getchar(); x = 0;
	while (!isdigit(c)) c = getchar();
	while (isdigit(c)) x = (x << 3) + (x << 1) + (c ^ 48), c = getchar();
}

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

output_test

#include <iostream>
#include <cstdio>

using namespace std;

int main(void)
{
	int n;
	cin >> n;
	while (n--)
	{
		putchar('1');
		putchar('0');
		putchar('0');
		putchar('0');
		putchar('0');
		putchar('0');
		putchar('0');
		putchar('0');
		putchar('0');
		putchar(' ');
	}
	putchar('\n');
	return 0;
}

詳細信息

Invalid Configuration File: failed to read Nin and Nout