QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#867249#9546. Recover StatisticsafyWA 1ms3712kbC++201.3kb2025-01-23 12:07:192025-01-23 12:07:23

Judging History

This is the latest submission verdict.

  • [2025-01-23 12:07:23]
  • Judged
  • Verdict: WA
  • Time: 1ms
  • Memory: 3712kb
  • [2025-01-23 12:07:19]
  • Submitted

answer

#include <bits/stdc++.h>
#ifdef LOCAL
#include "debug.h"
#else
#define deb(...)
#endif
using namespace std;
#define ll long long
// #define int long long
#define ull unsigned long long
#define pii pair<int, int>
#define db double
#define baoliu(x, y) cout << fixed << setprecision(y) << x
#define endl "\n"
#define alls(x) (x).begin(), (x).end()
#define fs first
#define sec second
#define bug(x) cerr << #x << " = " << x << endl
const int N = 2e5 + 10;
const int M = 1e6 + 10;
const int inf = 0x3f3f3f3f;
const int mod = 998244353;
const double eps = 1e-8;
const double PI = acos(-1.0);
void solve() {
    int a, b, c;
    cin >> a >> b >> c;
    int n = 100;
    cout << n << endl;
    for (int i = 1; i <= 50; i++) cout << a << " ";
    for (int i = 1; i <= 45; i++) cout << b << " ";
    for (int i = 1; i <= 5; i++) cout << c << " ";
}
signed main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
#ifdef LOCAL
    double starttime = clock();
    // freopen("in.txt", "r", stdin);
    // freopen("out.txt", "w", stdout);
#endif
    int t = 1;
    // cin >> t;
    while (t--) solve();
#ifdef LOCAL
    double endtime = clock();
    cerr << "Time Used: " << (double)(endtime - starttime) / CLOCKS_PER_SEC * 1000 << " ms" << endl;
#endif
    return 0;
}

详细

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3712kb

input:

50
95
99

output:

100
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...

result:

wrong answer wrong p99: 100 / 100