QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#130833#1. I/O TestLi_Feiy100 59ms101040kbC++14803b2023-07-25 11:59:442023-07-25 11:59:47

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-25 11:59:47]
  • 评测
  • 测评结果:100
  • 用时:59ms
  • 内存:101040kb
  • [2023-07-25 11:59:44]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
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()
{
	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 tad[134217728], * pout = buf;
int main()
{
	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(tad, pout - tad);
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 59ms
memory: 101040kb

input:

10000000
739436675 446300851 952867286 576503380 957904194 181440507 461412348 393555886 826797953 912036969 933425733 226035361 977074566 916166869 531166754 719747184 798614369 753043546 880950904 920777180 941990370 406271542 468553123 491261145 516964028 381598324 200199032 268543750 128608451 8...

output:

5501247157000141

result:

points 1.0 input test passed

Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10000000

output:


result: