結果

問題 No.1426 Got a Covered OR
コンテスト
ユーザー nok0
提出日時 2021-01-17 18:32:04
言語 C++17(gcc12)
(gcc 12.4.0 + boost 1.90.0)
コンパイル:
g++-12 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 349 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6,538 ms
コンパイル使用メモリ 336,348 KB
実行使用メモリ 13,584 KB
最終ジャッジ日時 2026-06-17 03:47:29
合計ジャッジ時間 8,235 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 24
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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

int main() {
	registerValidation();
	int n = inf.readInt(1, 100000);
	inf.readEoln();
	for(int i = 0; i < n; i++) {
		if(i) inf.readSpace();
		int b = inf.readInt(-1, (1 << 30) - 1);
		assert(b != 0);
		if(i == n - 1) {
			assert(b != -1);
		}
	}
	inf.readEoln();
	inf.readEof();
}
0