QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#717220 | #9546. Recover Statistics | A_J1e# | WA | 0ms | 3624kb | C++23 | 747b | 2024-11-06 17:15:43 | 2024-11-06 17:15:44 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
using i32 = int;
bool mem1;
void solve() {
i32 a,b,c;cin>>a>>b>>c;
cout<<100<<'\n';
for(i32 i=1;i<=50;++i) cout<<a<<' ';
for(i32 i=50+1;i<=95;++i) cout<<b<<' ';
for(i32 i=95+1;i<=99;++i) cout<<c<<' ';
for(i32 i=99+1;i<=100;++i) cout<<c<<' ';
}
bool mem2;
int main(void) {
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
#ifdef LOCAL
cerr << fixed << setprecision(2) << "Memory : " << abs(&mem1 - &mem2) / 1024. / 1024. << "MB\n";
#endif
int T=1; //cin >> T;
while (T -- ) solve();
#ifdef LOCAL
cerr << "Time : " << clock() * 1000 / CLOCKS_PER_SEC << "MS\n";
#endif
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3624kb
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