QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#542952#1. I/O Testsun_vitamessage20 52ms3624kbC++14401b2024-09-01 11:32:442024-09-01 11:32:49

Judging History

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

  • [2024-09-01 11:32:49]
  • 评测
  • 测评结果:20
  • 用时:52ms
  • 内存:3624kb
  • [2024-09-01 11:32:44]
  • 提交

config.txt

1000000 1000000

input_test

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

output_test

#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
for(int i=0;i<n;i++){
cout<<100000000<<' ';
}
return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Acceptable Answer

Test #1:

score: 10
Acceptable Answer
time: 52ms
memory: 3624kb

input:

1000000
980715080 197137510 544706452 548708523 184158209 882805625 229065023 300495733 496933989 803917242 120791709 108849144 675077094 924687442 970301946 385172433 427110868 106020454 308890112 180373339 232881622 386568426 996999488 663369074 438889831 552876430 135586768 257044878 650050069 26...

output:

550327810953828

result:

points 0.10 input test passed

Subtask #2:

score: 10
Acceptable Answer

Test #2:

score: 10
Acceptable Answer
time: 43ms
memory: 3612kb

input:

1000000

output:

100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...

result:

points 0.10 output test passed