QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#460252#1. I/O TestCiriya666Compile Error//C++17493b2024-07-01 12:24:502024-07-01 12:24:50

Judging History

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

  • [2024-07-01 12:24:50]
  • 评测
  • [2024-07-01 12:24:50]
  • 提交

config.txt


input_test

#include<iostream>
using namespace std;
char buf[134217728];
const char* pin = buf;
inline unsigned ReadU() { for (; *pin < '0'; ++pin); unsigned ans = *pin ^ '0'; for (; *(++pin) >= '0'; ans = ans * 10 + *pin - '0'); return ans; }
int main()
{
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	cin.read(buf, 134217728);
	const unsigned n = ReadU();
	unsigned long long ans = 0;
	for (unsigned i = 1; i <= n; ans += ReadU(), ++i);
	cout << ans;
	return 0;
}

output_test


詳細信息

Invalid Configuration File: failed to read Nin and Nout