QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#713369#9546. Recover Statisticsshenchuan_fan#WA 0ms3716kbC++20526b2024-11-05 19:09:232024-11-05 19:09:27

Judging History

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

  • [2024-11-05 19:09:27]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3716kb
  • [2024-11-05 19:09:23]
  • 提交

answer

#include <bits/stdc++.h>
#define int long long

using namespace std;

void solve()
{
    int a,b,c;
    cin>>a>>b>>c;
    cout<<100<<'\n';
    for(int i=1;i<=50;i++){
        cout<<a<<' ';
    }
    for(int i=51;i<=95;i++){
        cout<<b<<' ';
    }
    for(int i=96;i<=99;i++){
        cout<<c<<' ';
    }
    cout<<100<<'\n';
}

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

详细

Test #1:

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

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:

ok ok

Test #2:

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

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 100

result:

ok ok

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3712kb

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 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999...

result:

wrong answer wrong p95: 96 / 100