QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#700665#9546. Recover Statisticsucup-team5226#AC ✓0ms3736kbC++20616b2024-11-02 13:16:342024-11-02 13:16:44

Judging History

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

  • [2024-11-02 13:16:44]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3736kb
  • [2024-11-02 13:16:34]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define reps(i, a, n) for (ll i = (a), i##_loop_size = (n); i < i##_loop_size; i++)
#define rep(i, n) for (ll i = (a), i##_loop_size = (n); i < i##_loop_size; i++)

void solve() {
    ll a, b, c;
    cin >> a >> b >> c;
    cout << 100 << endl;
    for (int i = 0; i < 50; i++) cout << 1 << " ";
    for (int i = 50; i < 95; i++) cout << a + 1 << " ";
    for (int i = 95; i < 99; i++) cout << b + 1 << " ";
    cout << c + 1 << endl;
}

int main() {
    int t = 1;
    // cin >> t;
    for (int i = 1; i <= t; i++) solve();
}

这程序好像有点Bug,我给组数据试试?

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3664kb

input:

50
95
99

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 96 96 96 96 100

result:

ok ok

Test #2:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

1
2
3

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 4

result:

ok ok

Test #3:

score: 0
Accepted
time: 0ms
memory: 3648kb

input:

1
999999998
999999999

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 999999999 999999999 999999999 999999999 1000000000

result:

ok ok

Test #4:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

999999997
999999998
999999999

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999...

result:

ok ok

Test #5:

score: 0
Accepted
time: 0ms
memory: 3736kb

input:

893
114514
1919810

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 894 114515 114515 11...

result:

ok ok

Extra Test:

score: 0
Extra Test Passed