QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#61951 | #1. I/O Test | gdf_yhm | 100 | 395ms | 4376kb | C++14 | 745b | 2022-11-16 08:10:04 | 2022-11-16 08:10:06 |
Judging History
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 ";
}
詳細信息
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