結果
| 問題 | No.103 素因数ゲーム リターンズ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-12-27 08:42:28 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 5,000 ms |
| + 24µs | |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 80,840 KB |
| 実行使用メモリ | 82,488 KB |
| 最終ジャッジ日時 | 2026-07-18 11:39:45 |
| 合計ジャッジ時間 | 2,871 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 20 |
ソースコード
#yuki_103 n=int(raw_input()) m=map(int,raw_input().split()) res=0 for i in xrange(n): for j in xrange(2,m[i]+1): cnt=0 while m[i]%j==0: cnt+=1 m[i]/=j res^=cnt%3 if res==0: print 'Bob' else: print 'Alice'