QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#775040 | #9546. Recover Statistics | Dylan114514 | WA | 0ms | 3680kb | C++14 | 359b | 2024-11-23 14:33:34 | 2024-11-23 14:33:39 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int main(){
int a;cin>>a;
int b;cin>>b;
int c;cin>>c;
cout<<100<<endl;
for(int i=1;i<=a;++i){
cout<<"50 ";
}
for(int i=1;i<=(b-a);++i){
cout<<"95 ";
}
for(int i=1;i<=(c-b);++i){
cout<<"99 ";
}
for(int i=1;i<=(100-c);++i){
cout<<"100 ";
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3680kb
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:
ok ok
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3560kb
input:
1 2 3
output:
100 50 95 99 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100...
result:
wrong answer wrong p50: 0 / 100