QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#715622 | #9546. Recover Statistics | fosov | WA | 0ms | 3644kb | C++14 | 586b | 2024-11-06 12:48:07 | 2024-11-06 12:48:08 |
Judging History
answer
#include "bits/stdc++.h"
using namespace std;
#define ll long long
#define INF 0x3f3f3f3f
#define LNF 0x3f3f3f3f3f3f3f3fll
#define MOD 998244353
#define pii pair<int, int>
int main() {
#ifdef TEST
freopen("zz.in", "r+", stdin);
#endif
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int a, b, c; cin >> a >> b >> c;
cout << 100 << '\n';
for (int i = 0; i < 50; ++ i) cout << a - 1 << ' ';
for (int i = 50; i < 95; ++ i) cout << b - 1 << ' ';
for (int i = 95; i < 99; ++ i) cout << c << ' ';
cout << c << '\n';
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3644kb
input:
50 95 99
output:
100 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 99 99 99 99...
result:
wrong answer wrong p99: 100 / 100