結果
| 問題 | No.1452 XOR×OR |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-04-01 13:00:26 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 66 ms / 2,000 ms |
| + 538µs | |
| コード長 | 100 bytes |
| 記録 | |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 96,100 KB |
| 実行使用メモリ | 83,712 KB |
| 最終ジャッジ日時 | 2026-08-04 03:07:40 |
| 合計ジャッジ時間 | 4,316 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 36 |
ソースコード
n = int(input());print(sum(1<<bin(x).count("1")-1 for x in range(1,int(n**0.5)+1) if n%x|x&~n//x<1))
convexineq