結果
問題 |
No.7 プライムナンバーゲーム
|
ユーザー |
|
提出日時 | 2018-12-24 23:15:22 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 286 bytes |
コンパイル時間 | 321 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 17,692 KB |
最終ジャッジ日時 | 2024-09-25 11:05:18 |
合計ジャッジ時間 | 6,663 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 TLE * 1 -- * 14 |
ソースコード
n = int(input()) p = [] for i in range(1,n+1,1): tmp = [] for j in range(1,i+1,1): if i%j == 0: tmp.append(j) if len(tmp) == 2: p.append(i) for i in p: if n - i == 2 or n - i ==3: print('Win') break else: print('Lose')