QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#732296 | #9546. Recover Statistics | XiaoretaW# | WA | 0ms | 3616kb | C++20 | 561b | 2024-11-10 13:56:11 | 2024-11-10 13:56:13 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define vi vector<int>
#define fi first
#define se second
#define pii pair<int, int>
#define all(a) a.begin(), a.end()
#define rep(i,a,b) for(int i = a; i < b; ++i)
#define per(i,b,a) for(int i = b-;1 i >= a; --i)
int main(){
ios::sync_with_stdio(0); cin.tie(0);
int a, b, c; cin >> a >> b >> c;
cout << 100<<'\n';
for(int i=0;i<50;i++){
cout<<a<<' ';
}
for(int i=0;i<45;i++)cout<<b<<' ';
for(int i=0;i<5;i++)cout<<c<<' ';
cout<<c+1;
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3616kb
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 answer wrong p99: 100 / 100