QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#750957#9546. Recover Statisticskindow#WA 0ms3612kbC++20491b2024-11-15 16:30:262024-11-15 16:30:26

Judging History

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

  • [2024-11-15 16:30:26]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3612kb
  • [2024-11-15 16:30:26]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
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 = 1; i <= 45; ++i){
    cout << b << ' ';
  }
  for(int i = 1; i <= 5; ++i){
    cout << c << ' ';
  }
}


int main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int t = 1;
  // cin >> t;
  while(t--){
    solve();
  }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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