QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#746591 | #9546. Recover Statistics | Nana7# | WA | 0ms | 3660kb | C++14 | 348b | 2024-11-14 15:03:38 | 2024-11-14 15:03:38 |
Judging History
answer
#include<iostream>
#include<cstdio>
#include<cstring>
#define I inline
using namespace std;
int main()
{
int a,b,c; cin>>a>>b>>c;
cout<<100<<endl;
for(int i=1;i<=50;++i) cout<<a<<' ';
for(int i=50+1;i<=95;++i) cout<<b<<' ';
for(int i=95+1;i<=99;++i) cout<<c<<' ';
for(int i=99+1;i<=100;++i) cout<<1e9<<' ';
cout<<endl;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3660kb
input:
50 95 99
output:
100 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 99 99 99 99...
result:
wrong output format Expected integer, but "1e+09" found