QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#732296#9546. Recover StatisticsXiaoretaW#WA 0ms3616kbC++20561b2024-11-10 13:56:112024-11-10 13:56:13

Judging History

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

  • [2024-11-10 13:56:13]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3616kb
  • [2024-11-10 13:56:11]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;

#define vi vector<int>
#define fi first
#define se second
#define pii pair<int, int>
#define all(a) a.begin(), a.end()
#define rep(i,a,b) for(int i = a; i < b; ++i)
#define per(i,b,a) for(int i = b-;1 i >= a; --i)

int main(){
    ios::sync_with_stdio(0); cin.tie(0);

    int a, b, c; cin >> a >> b >> c;
    cout << 100<<'\n';
    for(int i=0;i<50;i++){
        cout<<a<<' ';
    }
    for(int i=0;i<45;i++)cout<<b<<' ';
    for(int i=0;i<5;i++)cout<<c<<' ';
    cout<<c+1; 
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3616kb

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