QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#139979#1. I/O Testcyc001200 ✓480ms3608kbC++23516b2023-08-14 20:53:502023-08-14 20:53:51

Judging History

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

  • [2023-08-14 20:53:51]
  • 评测
  • 测评结果:200
  • 用时:480ms
  • 内存:3608kb
  • [2023-08-14 20:53:50]
  • 提交

config.txt

10000000
10000000

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: 480ms
memory: 3608kb

input:

10000000
269456688 324882865 824334581 421037623 306451505 649025263 159057259 701476430 210043270 615650077 234193479 830826554 191344412 888226179 943063576 869763767 717560391 606679333 201788670 237757648 625020085 467720369 508620598 748038643 138476069 495656262 307836746 206869165 799560173 6...

output:

5501018861742397

result:

points 1.0 input test passed

Subtask #2:

score: 100
Accepted

Test #2:

score: 100
Accepted
time: 111ms
memory: 3480kb

input:

10000000

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