QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#721880 | #9546. Recover Statistics | fosov# | WA | 0ms | 3632kb | C++17 | 573b | 2024-11-07 17:04:28 | 2024-11-07 17:04:29 |
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>
#define N 1000010
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;
for (int i = 0; i < 50; ++ i) cout << a << ' ';
for (int i = 50; i < 95; ++ i) cout << b << ' ';
for (int i = 95; i < 99; ++ i) cout << c << ' ';
cout << (c + 1) << '\n';
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3632kb
input:
50 95 99
output:
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 100
result:
wrong answer Integer parameter [name=n] equals to 50, violates the range [100, 100000]