QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#711763#9546. Recover StatisticsXiaokQAQ#AC ✓0ms3660kbC++23542b2024-11-05 13:21:082024-11-05 13:21:08

Judging History

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

  • [2024-11-05 13:21:08]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3660kb
  • [2024-11-05 13:21:08]
  • 提交

answer

#include<bits/stdc++.h>
#define int long long
#define PII pair<int,int>
using namespace std;
void solve(){
    int a,b,c;
    cin>>a>>b>>c;
    cout<<"100\n";
    for(int i=1;i<=50;i++){
        cout<<1<<' ';
    }
    for(int i=1;i<=45;i++){
        cout<<a+1<<' ';
    }
    for(int i=1;i<=4;i++){
        cout<<b+1<<' ';
    }
    cout<<c+1;
    return;
}
signed main(){
    ios::sync_with_stdio(0);
    cin.tie(0),cout.tie(0);
    int T=1;
    // cin>>T;
    while(T--){
        solve();
    }
    return 0;
}

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

詳細信息

Test #1:

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

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: 3640kb

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: 3660kb

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: 3660kb

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: 3568kb

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