QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#36686 | #1. I/O Test | D_F_S | 100 | 451ms | 3552kb | C++ | 882b | 2022-06-28 14:22:21 | 2022-06-28 14:22:21 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
#define inl inline
using namespace std;
const int N=1e5+5;
int n;
long long ans;
inl int Read()
{
int s=0; char c; while(!isdigit(c=getchar()));
for(;isdigit(c);c=getchar()) s=s*10+c-'0'; return s;
}
inl void Write(int x)
{
int c=0,s[10]; do s[++c]=x%10; while(x/=10);
while(c--) putchar(s[c+1]+'0'); putchar(' ');
}
int main()
{
for(n=Read();n--;) ans+=Read();
Write(ans);
return 0;
}
output_test
#include<bits/stdc++.h>
#define inl inline
using namespace std;
const int N=1e5+5;
int n;
long long ans;
inl int Read()
{
int s=0; char c; while(!isdigit(c=getchar()));
for(;isdigit(c);c=getchar()) s=s*10+c-'0'; return s;
}
inl void Write(int x)
{
int c=0,s[10]; do s[++c]=x%10; while(x/=10);
while(c--) putchar(s[c+1]+'0'); putchar(' ');
}
int main()
{
for(n=Read();n--;) Write(100000000);
return 0;
}
詳細信息
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 450ms
memory: 3552kb
input:
10000000 451694521 591568737 493940347 906207622 861903262 987125122 951590139 122679834 396486289 862524415 327392741 173249241 178704793 181611905 281007818 608314701 311012783 197684711 223223114 842586368 422169299 310131404 984431899 301902395 948138289 677892193 944873067 595772177 803588857 3...
output:
494783114
result:
wrong answer expected 5499079052085898, found 494783114
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 451ms
memory: 3516kb
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