結果
| 問題 | No.1452 XOR×OR |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-04-01 13:00:26 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 2,000 ms |
| コード長 | 100 bytes |
| 記録 | |
| コンパイル時間 | 327 ms |
| コンパイル使用メモリ | 85,088 KB |
| 実行使用メモリ | 58,112 KB |
| 最終ジャッジ日時 | 2026-03-23 23:36:38 |
| 合計ジャッジ時間 | 2,392 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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