結果
問題 | No.7 プライムナンバーゲーム |
ユーザー |
|
提出日時 | 2025-04-15 22:51:42 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 259 bytes |
コンパイル時間 | 317 ms |
コンパイル使用メモリ | 81,656 KB |
実行使用メモリ | 59,112 KB |
最終ジャッジ日時 | 2025-04-15 22:54:08 |
合計ジャッジ時間 | 1,634 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 6 |
ソースコード
N = int(input()) width = 6 if N == 2: print("Win") exit() num = 3 while num + width <= N: num += width win = [True, True, True, False, True, False] for i in range(6): if num + i == N: if win[i]: print("Win") else: print("Lose")