QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#820516#9546. Recover StatisticssxyeWA 1ms3644kbC++20545b2024-12-18 21:41:062024-12-18 21:41:06

Judging History

你现在查看的是最新测评结果

  • [2024-12-18 21:41:06]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3644kb
  • [2024-12-18 21:41:06]
  • 提交

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]