結果

問題 No.1189 Sum is XOR
ユーザー Ebishu
提出日時 2020-07-31 00:40:54
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 286 bytes
コンパイル時間 1,704 ms
コンパイル使用メモリ 70,780 KB
最終ジャッジ日時 2025-01-12 08:23:28
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other RE * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

// assert check
#include <assert.h>
#include <iostream>
#include <vector>

using namespace std;

int main() {
	int n, k;
	cin >> n >> k;
	vector<int>a(n);
	for (int& e : a) cin >> e;
	assert(2 <= n && n <= 100);
	assert(2 <= k && k <= n);
	for (int e : a) assert(0 <= e && e <= 1023);
}
0