QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#768468#9546. Recover StatisticsxianyuWA 0ms3676kbC++23614b2024-11-21 10:59:042024-11-21 10:59:05

Judging History

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

  • [2024-11-21 10:59:05]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3676kb
  • [2024-11-21 10:59:04]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define endl '\n'
const int N=1e6+10,mod=998244353;
typedef pair<int,int>PII;
typedef pair<double,double>PDD;
int n,m,k,w;
int a[N];
string s;
void solve() {
    cin>>n>>m>>k;
    cout<<100<<endl;
    for(int i=1;i<=n;i++)cout<<n<<" ";
    for(int i=n+1;i<=m;i++)cout<<m<<" ";
    for(int i=m+1;i<=k;i++)cout<<k<<" ";
    for(int i=k+1;i<=100;i++)cout<<100<<" ";
}
signed main() {
    ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
    int T=1;
    //cin>>T;
    while(T--) {
        solve();
    }
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

1
2
3

output:

100
1 2 3 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 10...

result:

wrong answer wrong p50: 1 / 100