結果
| 問題 | No.249 N言っちゃダメゲーム (2) |
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2015-08-14 21:54:48 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 447 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 77,260 KB |
| 最終ジャッジ日時 | 2025-12-03 16:12:41 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | MLE * 3 |
ソースコード
number = 0# 0 -> first, 1 -> second count = 0 NK = [map(int,raw_input().split()) for i in range(1000)] for i in xrange(1000): Fwin = False mod = NK[i][0] % (K[i][1] + 1) if (mod != 1 and number == 0) or (mod == 1 and number == 1): count += 1 Fwin = True if Fwin: if(i + 1 < 1000):number = (1 if N[i + 1][0] % (K[i + 1][1] + 1) != 1 else 0) else: if(i + 1 < 1000):number = (0 if N[i + 1][0] % (K[i + 1][1] + 1) != 1 else 1) print count
tookunn_1213