QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#289009#1. I/O Testallen2010y100 505ms3396kbC++14458b2023-12-23 14:43:292023-12-23 14:43:30

Judging History

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

  • [2023-12-23 14:43:30]
  • 评测
  • 测评结果:100
  • 用时:505ms
  • 内存:3396kb
  • [2023-12-23 14:43:29]
  • 提交

config.txt

10000000 10000000

input_test

#include <bits/stdc++.h>
using namespace std;
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0),cout.tie(0);
	long long n,ans=0;
	cin>>n;
	for(int i=0;i<n;i++)
	{
		int t;
		cin>>t;
		ans+=t;
	}
	cout<<ans;
	return 0;
}

output_test

#include <bits/stdc++.h>
using namespace std;
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0),cout.tie(0);
	int n,ans=0;
	cin>>n;
	for(int i=0;i<n;i++)
	{
		cout<<100000007;
	}
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 505ms
memory: 3396kb

input:

10000000
870211471 255209684 681448288 697551856 759569563 701132792 484595798 452440242 539295578 114516646 390620405 555124572 934539626 726918686 314434578 133045687 226621699 307784955 272815684 661332069 940703676 248776411 632438773 860808525 658056668 595863331 180844530 804429937 214164843 1...

output:

5499822572860962

result:

points 1.0 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 287ms
memory: 3392kb

input:

10000000

output:

100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100000007100...

result:

wrong output format Length of token exceeds 33554432, token is '100000007100000007100000007100...7100000007100000007100000007100...'