結果

問題 No.2774 Wake up Record 2
ユーザー 👑 seekworser
提出日時 2024-06-02 19:25:25
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 394 bytes
コンパイル時間 10,658 ms
コンパイル使用メモリ 336,284 KB
実行使用メモリ 12,124 KB
最終ジャッジ日時 2024-12-24 17:49:18
合計ジャッジ時間 11,779 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;

int main(){
    registerValidation();
    int n = inf.readInt(2, 100000);
    inf.readSpace();
    int k = inf.readInt(2, n);
    inf.readEoln();
    vector<int> a(n);
    for (int i=0; i<n; i++) {
    	a[i] = inf.readInt(1, 1000000000);
    	if (i != n-1) inf.readSpace();
    	else inf.readEoln();
    }
    inf.readEof();
}
0