QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#717220#9546. Recover StatisticsA_J1e#WA 0ms3624kbC++23747b2024-11-06 17:15:432024-11-06 17:15:44

Judging History

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

  • [2024-11-06 17:15:44]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3624kb
  • [2024-11-06 17:15:43]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
using i32 = int;
bool mem1;

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

bool mem2;

int main(void) {
    ios::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    #ifdef LOCAL
    cerr << fixed << setprecision(2) << "Memory : " << abs(&mem1 - &mem2) / 1024. / 1024. << "MB\n";
    #endif
    int T=1; //cin >> T;
    while (T -- ) solve();
    #ifdef LOCAL
    cerr << "Time : " << clock() * 1000 / CLOCKS_PER_SEC << "MS\n";
    #endif
    return 0;
}

详细

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