結果
問題 |
No.669 対決!!! 飲み比べ
|
ユーザー |
|
提出日時 | 2022-10-14 04:32:45 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 294 bytes |
コンパイル時間 | 340 ms |
コンパイル使用メモリ | 82,944 KB |
実行使用メモリ | 55,936 KB |
最終ジャッジ日時 | 2024-06-26 12:22:10 |
合計ジャッジ時間 | 3,397 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 20 WA * 5 |
ソースコード
from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline N,K = map(int,input().split()) A = list(map(int,input().split())) ans = 0 for a in A: ans ^= (a%K) if ans: print('YES') else: print('NO')