結果

問題 No.249 N言っちゃダメゲーム (2)
ユーザー togatogatogatoga
提出日時 2015-09-04 07:19:17
言語 Python2
(2.7.18)
結果
AC  
実行時間 19 ms / 1,000 ms
コード長 118 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 6,576 KB
実行使用メモリ 6,248 KB
最終ジャッジ日時 2023-09-26 04:17:51
合計ジャッジ時間 860 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

ans = 0
a,b = map(int, raw_input().split())
a -= 1
if (a % (b + 1) == 0):
    print 499
else:
    print 500

        
0