結果
問題 |
No.2 素因数ゲーム
|
ユーザー |
|
提出日時 | 2021-07-20 16:25:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 207 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-17 13:43:40 |
合計ジャッジ時間 | 2,010 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 WA * 11 |
ソースコード
N = int(input()) s = 0 n = 0 for i in range(2, int(N ** 0.5) + 1): t = 0 while N % i == 0: N //= i t += 1 if N > 1: n += 1 s ^= t s ^= n print('Alice' if s else 'Bob')