QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#768468 | #9546. Recover Statistics | xianyu | WA | 0ms | 3676kb | C++23 | 614b | 2024-11-21 10:59:04 | 2024-11-21 10:59:05 |
Judging History
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;
}
詳細信息
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