QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#253811#1. I/O TestNOI_AK_ME0 0ms0kbC++98942b2023-11-17 16:13:042023-11-17 16:13:06

Judging History

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

  • [2023-11-17 16:13:06]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2023-11-17 16:13:04]
  • 提交

config.txt

10000000 10000000

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

#include<iostream>
using namespace std;
char buf[134217728], * 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) = '0001', *reinterpret_cast<unsigned*>(pout + 4) = '0000', *reinterpret_cast<unsigned short*>(pout + 8) = '\n0', pout += 10, ++i);
	cout.write(buf, pout - buf);
	return 0;
}

詳細信息

Subtask #1:

score: 0
input_test Judgement Failed

Test #1:

score: 0
input_test Judgement Failed

input:

10000000
655514928 846491807 470065705 669543960 877367706 225997521 839824020 346405455 720989853 854763288 705983320 466112450 134515079 390387455 842922131 941510433 781331132 285271801 594590429 364754308 684073624 187674296 413717517 944105016 950273692 330618135 553257631 259319393 352149123 7...

output:


result:


Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10000000

output:


result: