結果
問題 |
No.1363 [Zelkova Last Tune] 誰がその最後のベルを鳴らすのか?
|
ユーザー |
👑 ![]() |
提出日時 | 2020-10-25 02:38:36 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 185 bytes |
コンパイル時間 | 199 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 65,280 KB |
最終ジャッジ日時 | 2024-09-21 17:27:36 |
合計ジャッジ時間 | 1,971 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 5 |
ソースコード
import sys input=sys.stdin.readline K=int(input()) Grundy=0 for i in range(K): a,p=map(int,input().split()) Grundy^=a%(p+1) if Grundy: print("Win") else: print("Lose")