結果
問題 |
No.1674 Introduction to XOR
|
ユーザー |
|
提出日時 | 2021-09-11 16:08:43 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 263 bytes |
コンパイル時間 | 1,448 ms |
コンパイル使用メモリ | 165,388 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-23 00:17:07 |
合計ジャッジ時間 | 2,015 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 WA * 14 |
ソースコード
#include <bits/stdc++.h> using namespace std; int n, k = 0; long long a; int main(){ cin >> n; for(int i = 0; i < n; i++){ cin >> a; while(a & (1ull << k)) k++; } cout << (1ull << k) << endl; }