結果

問題 No.1665 quotient replace
ユーザー nikumakare
提出日時 2021-12-09 23:23:30
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 226 bytes
コンパイル時間 258 ms
コンパイル使用メモリ 82,220 KB
実行使用メモリ 113,588 KB
最終ジャッジ日時 2024-07-17 16:22:37
合計ジャッジ時間 8,576 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7 TLE * 1 -- * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
A=[int(i) for i in input().split()]
ans=0
for num in A:
    sub=0
    for i in range(2,1001):
        while num%i==0:
            num//=i
            sub+=1
    ans^=sub
print("white") if ans else print("black")
0