QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#713834 | #9546. Recover Statistics | Exile_Code# | WA | 0ms | 3516kb | C++20 | 917b | 2024-11-05 20:39:40 | 2024-11-05 20:39:42 |
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());
const ll inf=0x3f3f3f3f;
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<<inf<<"\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: 0
Wrong Answer
time: 0ms
memory: 3516kb
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 Integer element pans[100] equals to 1061109567, violates the range [1, 10^9]