QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#61951#1. I/O Testgdf_yhm100 395ms4376kbC++14745b2022-11-16 08:10:042022-11-16 08:10:06

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-11-16 08:10:06]
  • 评测
  • 测评结果:100
  • 用时:395ms
  • 内存:4376kb
  • [2022-11-16 08:10:04]
  • 提交

config.txt

10000000 10000000

input_test

#include<bits/stdc++.h>
using namespace std;
static char buf[1000000],*p1=buf,*p2=buf;
#define getchar() p1==p2&&(p2=(p1=buf)+fread(buf,1,1000000,stdin),p1==p2)?EOF:*p1++
inline int read(){
	int x=0,f=1;
	char ch=getchar();
	while(ch<'0' || ch>'9'){
		if(ch=='-')f=-1;
		ch=getchar();
	}
	while(ch>='0' && ch<='9'){
		x=(x<<3)+(x<<1)+(ch^48);
		ch=getchar();
	}
	return x*f;
}
void write(int x){
	if(x<0){
		putchar('-');
		x=-x;
	}
	if(x>9) write(x/10);
	putchar(x%10+'0');
}
int main(){
	long long n,ans=0;
	n=read(); 
	for(int i=1;i<=n;i++)ans+=read();
	write(ans);
}

output_test

#include<bits/stdc++.h>
using namespace std;
int main(){
int n,a,ans=0;
cin>>n;
for(int i=1;i<=n;i++)cout<<"100000000 ";
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 84ms
memory: 4376kb

input:

10000000
945169690 712170631 469168894 596881478 658243687 993067848 424839739 740776977 875269148 750545553 721307262 421301209 122493210 552856071 202927912 367250540 282917730 240489563 978015084 636490765 662192691 833046011 227766486 162802619 641487087 727277026 636472488 450843473 241190360 5...

output:

1665061822

result:

wrong answer expected 5500695130067902, found 1665061822

Subtask #2:

score: 100
Accepted

Test #2:

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

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