結果
| 問題 |
No.2385 Parse Integer with Radix
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-07-21 23:40:30 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 132 bytes |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-22 01:08:03 |
| 合計ジャッジ時間 | 1,238 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 11 |
ソースコード
I=input for i in range(int(I())): S=I()+"00" s=S[:2] B=[[16,8][s<"0x"],2][s<"0o"] print(int(S)if s<"0b" else int(S[2:],B)//B//B)