QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#726916#9546. Recover Statisticsssx#WA 1ms3616kbC++20651b2024-11-09 10:18:572024-11-09 10:18:58

Judging History

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

  • [2024-11-09 10:18:58]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3616kb
  • [2024-11-09 10:18:57]
  • 提交

answer


#include<bits/stdc++.h>

using namespace std;

#define pll pair<ll, ll>
#define ll long long
const int mod = 1e9 + 7;
const int N = 2e5 + 50;


void solve()
{
    int a,b,c;
    cin>>a>>b>>c;
    cout<<100<<endl;
    
    for(int i=0;i<a;i++){
        cout<<1<<' ';
    }
    for(int i=0;i<b-a;i++){
        cout<<51<<' ';
    }
    for(int i=0;i<c-b;i++){
        cout<<96<<' ';
    }
    for(int i=0;i<100-c;i++){
        cout<<100<<' ';
    }
}

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    ll T = 1;
    //cin >> T;
    while (T --)
    {
        solve();
    }
    
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3616kb

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: -100
Wrong Answer
time: 0ms
memory: 3612kb

input:

1
2
3

output:

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

result:

wrong answer wrong p50: 1 / 100