QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#542950#1. I/O Testsun_vitamessage10 51ms3652kbC++14399b2024-09-01 11:31:422024-09-01 11:31:43

Judging History

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

  • [2024-09-01 11:31:43]
  • 评测
  • 测评结果:10
  • 用时:51ms
  • 内存:3652kb
  • [2024-09-01 11:31:42]
  • 提交

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<<1000000<<' ';
}
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: 51ms
memory: 3652kb

input:

1000000
320487374 737340368 734528560 263822388 453499689 607963511 641615317 650056352 607450477 341174798 674096596 694336884 794583726 970114489 461788772 387398341 977193729 680692184 333659791 516648098 449689769 998638293 897940030 933334957 235793157 203239748 600329625 313364570 437956832 67...

output:

549956674806401

result:

points 0.10 input test passed

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 49ms
memory: 3632kb

input:

1000000

output:

1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000...

result:

wrong answer Integer 1000000 violates the range [10^8, 999999999]