QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#250773#1. I/O Testqwqer233200 ✓486ms3380kbC++14402b2023-11-13 17:17:002023-11-13 17:17:01

Judging History

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

  • [2023-11-13 17:17:01]
  • 评测
  • 测评结果:200
  • 用时:486ms
  • 内存:3380kb
  • [2023-11-13 17:17:00]
  • 提交

config.txt

10000000 10000000

input_test

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

output_test

#include<bits/stdc++.h>
using namespace std;
const int N=100000000;
int n;
int main(){
	cin.tie(nullptr)->sync_with_stdio(false);
	cin>>n;
	while(n--) cout<<N<<' ';
	return 0;
}

详细

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 486ms
memory: 3344kb

input:

10000000
632783926 208511055 991632669 359800639 667055070 467545383 931802866 635539921 635229337 348903025 967426933 389152964 752337811 406367262 946787460 346831463 856304236 991069101 477715329 687472447 267669027 364305778 116208522 387134570 296475999 710973421 628400604 919782082 772796899 5...

output:

5500297177681368

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 431ms
memory: 3380kb

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