QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#775040#9546. Recover StatisticsDylan114514WA 0ms3680kbC++14359b2024-11-23 14:33:342024-11-23 14:33:39

Judging History

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

  • [2024-11-23 14:33:39]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3680kb
  • [2024-11-23 14:33:34]
  • 提交

answer

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

int main(){
  int a;cin>>a;
  int b;cin>>b;
  int c;cin>>c;
  cout<<100<<endl;
  for(int i=1;i<=a;++i){
    cout<<"50 ";
  }
  for(int i=1;i<=(b-a);++i){
    cout<<"95 ";
  }
  for(int i=1;i<=(c-b);++i){
    cout<<"99 ";
  }
  for(int i=1;i<=(100-c);++i){
    cout<<"100 ";
  }
  return 0;
}

详细

Test #1:

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

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

input:

1
2
3

output:

100
50 95 99 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: 0 / 100