QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#820526 | #9546. Recover Statistics | sxye | WA | 0ms | 3640kb | C++20 | 576b | 2024-12-18 21:43:15 | 2024-12-18 21:43:18 |
Judging History
answer
#include <bits/stdc++.h>
using i64 = long long;
constexpr int N = 2e5 + 5;
void solve(){
int a, b, c;
std::cin >> a >> b >> c;
std::cout << 100 << "\n";
for(int i = 1; i <= 50; i ++){
std::cout << a << " ";
}
for(int i = 51; i <= 95; i ++){
std::cout << b << " ";
}
for(int i = 96; i <= 100; i ++){
std::cout << c << " ";
}
}
int main(){
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int t = 1;
// std::cin >> t;
while(t --){
solve();
}
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3640kb
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