QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#820522 | #9546. Recover Statistics | sxye | WA | 0ms | 3612kb | C++20 | 548b | 2024-12-18 21:42:23 | 2024-12-18 21:42:23 |
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;
for(int i = 1; i <= 50; i ++){
std::cout << a << "\n";
}
for(int i = 51; i <= 95; i ++){
std::cout << b << "\n";
}
for(int i = 96; i <= 100; i ++){
std::cout << c << "\n";
}
}
int main(){
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int t = 1;
// std::cin >> t;
while(t --){
solve();
}
}
详细
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3612kb
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 99
result:
wrong answer Integer parameter [name=n] equals to 50, violates the range [100, 100000]