結果
| 問題 | No.103 素因数ゲーム リターンズ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-12-27 08:42:28 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 99 ms / 5,000 ms |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 77,220 KB |
| 最終ジャッジ日時 | 2025-12-03 22:58:08 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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'