QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#61903#1. I/O TestLXl4912140 0ms0kbC++23933b2022-11-15 21:23:272022-11-15 21:23:28

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-11-15 21:23:28]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2022-11-15 21:23:27]
  • 提交

config.txt

10000000 10000000

input_test

#include<iostream>
using namespace std;
char buf[16777216];
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, 16777216);
	const unsigned n = ReadU();
	unsigned long long ans = 0;
	for (unsigned i = 1; i <= n; ans += ReadU(), ++i);
	cout << ans;
	return 0;
}

output_test

#include<iostream>
using namespace std;
char buf[16777216], * pout = buf;
int main()
{
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	unsigned n;
	cin >> n;
	for (unsigned i = 1; i <= n; *reinterpret_cast<unsigned*>(pout) = '1000', *reinterpret_cast<unsigned*>(pout + 4) = '0000', *reinterpret_cast<unsigned*>(pout + 8) = '0\n', pout += 10, ++i);
	cout.write(buf, pout - buf);
	return 0;
}

詳細信息

Subtask #1:

score: 0
input_test Runtime Error

Test #1:

score: 0
input_test Runtime Error

input:

10000000
131173591 659991049 498993584 357442420 169506349 402412465 942043120 455621983 210999972 676314091 654433255 377189059 981715268 243549298 371415754 786496037 378701104 624528697 781782801 957954583 461635939 187576310 236581740 901181486 271734121 695790498 242760402 182904726 278983603 8...

output:


result:


Subtask #2:

score: 0
output_test Runtime Error

Test #2:

score: 0
output_test Runtime Error

input:

10000000

output:


result: