QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#717193#9546. Recover StatisticsA_J1e#WA 0ms3640kbC++23743b2024-11-06 17:12:312024-11-06 17:12:33

Judging History

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

  • [2024-11-06 17:12:33]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3640kb
  • [2024-11-06 17:12:31]
  • 提交

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<=a;++i) cout<<a<<' ';
    for(i32 i=a+1;i<=b;++i) cout<<b<<' ';
    for(i32 i=b+1;i<=c;++i) cout<<c<<' ';
    for(i32 i=c+1;i<=100;++i) cout<<101<<' ';
}

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: 100
Accepted
time: 0ms
memory: 3640kb

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: 3552kb

input:

1
2
3

output:

100
1 2 3 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 101 10...

result:

wrong answer wrong p50: 1 / 100