QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#289011#1. I/O Testallen2010y200 ✓503ms3448kbC++14463b2023-12-23 14:44:472023-12-23 14:44:48

Judging History

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

  • [2023-12-23 14:44:48]
  • 评测
  • 测评结果:200
  • 用时:503ms
  • 内存:3448kb
  • [2023-12-23 14:44:47]
  • 提交

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: 503ms
memory: 3392kb

input:

10000000
878536087 864436387 879771397 651065586 569128679 938352750 787864594 648750841 917194314 762797785 151811528 102664714 906715837 918473690 206565499 774330321 396514367 456800861 808053049 496331797 393949862 538778774 136181939 585207134 320971838 423400325 294966844 953683898 921990388 3...

output:

5499473656772820

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 416ms
memory: 3448kb

input:

10000000

output:

100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 100000007 ...

result:

points 1.0 output test passed