QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#117508 | #1. I/O Test | icyM1voya | 100 | 78ms | 3564kb | C++14 | 836b | 2023-07-01 14:46:00 | 2023-07-01 14:46:02 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
#define gc (l==r&&(r=(l=c)+fread(c,1,65536,stdin),l==r)?EOF:*l++)
long long s; char c[65536],*l=c,*r=c;
inline int read() {
int x=0; char ch=gc;
while (!isdigit(ch)) ch=gc;
while (isdigit(ch)) x=x*10+(ch^48),ch=gc;
return x;
}
int main() {
for (int i=1; i<=1250000; ++i)
s+=read()+read()+read()+read()+read()+read()+read()+read();
printf("%lld",s);
return 0;
}
output_test
#include<cstdio>
int n,p1=-1,p2,num[12]; char cw[65536];
inline void write(int x) {
if (p1>65516) fwrite(cw,1,p1+1,stdout),p1=-1;
do num[++p2]=x%10; while (x/=10);
do cw[++p1]=num[p2]|48; while (--p2);
cw[++p1]=' ';
}
int main() {
for (int i=1; i<=5000000; ++i)
write(100000000),write(100000000);
return fwrite(cw,1,p1+1,stdout),0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 78ms
memory: 3564kb
input:
10000000 207939500 827550715 232241786 445629955 942132475 882986680 116242918 354418051 544109545 312002002 642054145 550021870 772592582 393413019 309654345 479374636 165275858 104374200 489975995 213412528 259320726 273109465 400173643 362402319 856780758 308410153 901309039 389674753 441059616 5...
output:
125523520255277
result:
wrong answer expected 5501401886270476, found 125523520255277
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 54ms
memory: 1592kb
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