QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#713818#9546. Recover StatisticsExile_Code#WA 0ms3856kbC++20889b2024-11-05 20:37:002024-11-05 20:37:08

Judging History

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

  • [2024-11-05 20:37:08]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3856kb
  • [2024-11-05 20:37:00]
  • 提交

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