QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#713818 | #9546. Recover Statistics | Exile_Code# | WA | 0ms | 3856kb | C++20 | 889b | 2024-11-05 20:37:00 | 2024-11-05 20:37:08 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define cy cout<<"Yes\n";
#define cn cout<<"No\n";
using ll =long long;
using ld =long double;
using pii =pair<int,int>;
using vi =vector<int>;
using vvi =vector<vi>;
using vs =vector<string>;
std::mt19937_64 rng(std::chrono::steady_clock::now().time_since_epoch().count());
void solve()
{
int a,b,c;
cin>>a>>b>>c;
vi v1(50,a);
vi v2(45,b);
vi v3(4,c);
cout<<100<<"\n";
for(auto i:v1)
{
cout<<i<<" ";
}
for(auto i:v2)
{
cout<<i<<" ";
}
for(auto i:v3)
{
cout<<i<<" ";
}
cout<<100<<"\n";
cout<<"\n";
}
signed main()
{
ios::sync_with_stdio(false),cin.tie(nullptr),cout.tie(nullptr);
int _=1;
// std::cin>>_;
while (_--)
{
solve();
}
}
詳細信息
Test #1:
score: 100
Accepted
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:
ok ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
1 2 3
output:
100 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 100
result:
ok ok
Test #3:
score: -100
Wrong Answer
time: 0ms
memory: 3564kb
input:
1 999999998 999999999
output:
100 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999...
result:
wrong answer wrong p95: 96 / 100