QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#481195#1. I/O Testwol_qwq20 58ms3620kbC++20369b2024-07-16 21:20:422024-07-16 21:20:42

Judging History

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

  • [2024-07-16 21:20:42]
  • 评测
  • 测评结果:20
  • 用时:58ms
  • 内存:3620kb
  • [2024-07-16 21:20:42]
  • 提交

config.txt

1000000 1000000

input_test

#include<bits/stdc++.h>
using namespace std;
long long sum,x,n;
int main(){
	ios::sync_with_stdio(0);
	cin.tie(0),cout.tie(0);
	cin>>n;
	while(n--)cin>>x,sum+=x;
	cout<<sum;
}

output_test

#include<bits/stdc++.h>
using namespace std;
int sum,x,n;
int main(){
	ios::sync_with_stdio(0);
	cin.tie(0),cout.tie(0);
	cin>>n;
	while(n--)cout<<"100000000 ";
}

详细

Subtask #1:

score: 10
Acceptable Answer

Test #1:

score: 10
Acceptable Answer
time: 58ms
memory: 3608kb

input:

1000000
591207562 681021709 438458197 295140282 644121048 810823721 531504703 609130214 264099857 345529905 428342396 108701553 709769150 725031282 806702468 228558221 101292605 468691849 595476201 651257754 990506122 388689191 782284900 249174728 853534355 209407188 879517748 399590351 731177693 85...

output:

549902754898994

result:

points 0.10 input test passed

Subtask #2:

score: 10
Acceptable Answer

Test #2:

score: 10
Acceptable Answer
time: 19ms
memory: 3620kb

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