QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#721880#9546. Recover Statisticsfosov#WA 0ms3632kbC++17573b2024-11-07 17:04:282024-11-07 17:04:29

Judging History

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

  • [2024-11-07 17:04:29]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3632kb
  • [2024-11-07 17:04:28]
  • 提交

answer

#include "bits/stdc++.h"
using namespace std;

#define ll long long 
#define INF 0x3f3f3f3f
#define LNF 0x3f3f3f3f3f3f3f3fll
#define MOD 998244353
#define pii pair<int, int>

#define N 1000010

int main() {
#ifdef TEST
    freopen("zz.in", "r+", stdin);
#endif
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);

    int a, b, c; cin >> a >> b >> c;
    for (int i = 0; i < 50; ++ i) cout << a << ' ';
    for (int i = 50; i < 95; ++ i) cout << b << ' ';
    for (int i = 95; i < 99; ++ i) cout << c << ' ';
    cout << (c + 1) << '\n';
}

详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3632kb

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 100

result:

wrong answer Integer parameter [name=n] equals to 50, violates the range [100, 100000]