結果
| 問題 | No.1665 quotient replace |
| コンテスト | |
| ユーザー |
nikumakare
|
| 提出日時 | 2021-12-09 23:23:30 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 226 bytes |
| 記録 | |
| コンパイル時間 | 361 ms |
| コンパイル使用メモリ | 85,292 KB |
| 実行使用メモリ | 185,536 KB |
| 最終ジャッジ日時 | 2026-04-01 07:27:35 |
| 合計ジャッジ時間 | 45,631 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 WA * 19 TLE * 5 |
ソースコード
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")
nikumakare