QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#139978#1. I/O Testcyc001150 485ms3584kbC++23515b2023-08-14 20:53:062023-08-14 20:53:07

Judging History

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

  • [2023-08-14 20:53:07]
  • 评测
  • 测评结果:150
  • 用时:485ms
  • 内存:3584kb
  • [2023-08-14 20:53:06]
  • 提交

config.txt

10000000
5000000

input_test

#include<bits/stdc++.h>
#define cir(i,a,b) for(int i=a;i<b;++i)
using lint=long long;
using namespace std;
int main(){
	ios::sync_with_stdio(false),cin.tie(0);
	int n;cin>>n;
	lint cnx=0;
	cir(i,0,n){
		lint x;cin>>x;
		cnx+=x;
	}
	cout<<cnx<<'\n';
	return 0;
}

output_test

#include<bits/stdc++.h>
#define cir(i,a,b) for(int i=a;i<b;++i)
using namespace std;
int main(){
	ios::sync_with_stdio(false),cin.tie(0);
	int n;cin>>n;
	cir(i,0,n) cout<<"114514666 ";
	cout<<'\n';
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 485ms
memory: 3472kb

input:

10000000
704508103 975387791 681924303 394738059 664866239 509770892 391877524 106213440 630973318 932912611 673345475 937276510 474374047 858021617 370957089 483204979 221862405 681455359 676237411 961163095 792863551 624943901 449494100 170991252 500045476 916179605 515888727 105849583 841834368 9...

output:

5499328669256807

result:

points 1.0 input test passed

Subtask #2:

score: 50
Acceptable Answer

Test #2:

score: 50
Acceptable Answer
time: 53ms
memory: 3584kb

input:

5000000

output:

114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 114514666 ...

result:

points 0.50 output test passed