QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#820516 | #9546. Recover Statistics | sxye | WA | 1ms | 3644kb | C++20 | 545b | 2024-12-18 21:41:06 | 2024-12-18 21:41:06 |
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 << " ";
}
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();
}
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3644kb
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]