QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#719194 | #9546. Recover Statistics | find | WA | 0ms | 3848kb | C++23 | 478b | 2024-11-06 23:16:07 | 2024-11-06 23:16:08 |
Judging History
answer
#include <bits/stdc++.h>
namespace stdv = std::views;
namespace stdr = std::ranges;
using i64 = long long;
auto main() -> int {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
std::puts("100");
for (int i = 1; i <= 100; i++) {
if (i <= 50) {
printf("%d ", a);
} else if (i <= 99) {
printf("%d ", b);
} else {
printf("%d ", c);
}
}
std::puts("");
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3848kb
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 95 95 95 95...
result:
wrong answer wrong p95: 99 / 100