結果

問題 No.249 N言っちゃダメゲーム (2)
ユーザー iad_2889iad_2889
提出日時 2019-05-28 07:10:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 168 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 11,788 KB
実行使用メモリ 10,216 KB
最終ジャッジ日時 2023-10-17 18:21:30
合計ジャッジ時間 794 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 AC 31 ms
9,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def ng_N_game(N, K):
    return bool((N-1) % (K+1))


win = 1 if ng_N_game(*map(int, input().split())) else 0
for i in range(999):
    input()
win += 999//2
print(win)
0