QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#521573#1. I/O TestGodwang200 ✓532ms3632kbC++20418b2024-08-16 12:25:322024-08-16 12:25:35

Judging History

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

  • [2024-08-16 12:25:35]
  • 评测
  • 测评结果:200
  • 用时:532ms
  • 内存:3632kb
  • [2024-08-16 12:25:32]
  • 提交

config.txt

10000000 10000000

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=1;i<=n;i++)
	{
		cout<<100000000<<' ';
	}
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 532ms
memory: 3624kb

input:

10000000
171208577 395677676 802987244 653014133 432376279 919315092 307494730 645715337 290030923 556277539 553930899 941825802 429644624 671082783 830560902 863414257 634628726 764906865 836224024 943148370 789826013 510696445 400698235 693546506 209003501 360422370 871685887 129286565 666947468 6...

output:

5500969222914935

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 506ms
memory: 3632kb

input:

10000000

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 1.0 output test passed