結果
問題 |
No.7 プライムナンバーゲーム
|
ユーザー |
|
提出日時 | 2017-08-18 04:14:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 241 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-14 14:15:08 |
合計ジャッジ時間 | 2,901 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 17 |
ソースコード
P=[2,3] for i in range(5,10001): for p in P: if i%p==0:break else:P.append(i) #print(P) N=int(input()) for p in P: if p>N:continue print(N-p) if N-p==2: print('Win') break else: print('Lose')