QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#710091#9546. Recover Statistics000226#WA 0ms3624kbC++14477b2024-11-04 18:37:102024-11-04 18:37:11

Judging History

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

  • [2024-11-04 18:37:11]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3624kb
  • [2024-11-04 18:37:10]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define ll long long
ll read() {
    ll x=0, f=1; char ch=' ';
    while(!isdigit(ch)) { ch=getchar(); if(ch=='-') f=-1; }
    while(isdigit(ch)) x=(x<<3)+(x<<1)+(ch-48), ch=getchar();
    return x*f;
}
int main() {
    int a=read(), b=read(), c=read();
    cout<<100<<endl;
    for(int i=1;i<=50;i++) cout<<a<<" ";
    for(int i=51;i<=95;i++) cout<<b<<" ";
    for(int i=95;i<=99;i++) cout<<c<<" ";
    cout<<c+1;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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