QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#715622#9546. Recover StatisticsfosovWA 0ms3644kbC++14586b2024-11-06 12:48:072024-11-06 12:48:08

Judging History

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

  • [2024-11-06 12:48:08]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3644kb
  • [2024-11-06 12:48:07]
  • 提交

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>


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;

    cout << 100 << '\n';
    for (int i = 0; i < 50; ++ i) cout << a - 1 << ' ';
    for (int i = 50; i < 95; ++ i) cout << b - 1 << ' ';
    for (int i = 95; i < 99; ++ i) cout << c << ' ';
    cout << c << '\n';

}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

50
95
99

output:

100
49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 99 99 99 99...

result:

wrong answer wrong p99: 100 / 100