結果
| 問題 | No.1462 最弱WEAKER |
| コンテスト | |
| ユーザー |
y61mpnl
|
| 提出日時 | 2021-04-02 21:26:15 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 20 ms / 2,000 ms |
| + 880µs | |
| コード長 | 79 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-10-06 16:44:34 |
| 合計ジャッジ時間 | 2,068 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 |
ソースコード
n = int(input())
cnt = 0
while n:
cnt += n%3
n //= 3
print("YNEOS"[cnt%2::2])
y61mpnl