結果
| 問題 | No.2420 Simple Problem |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-21 00:14:09 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 112,000 KB |
| 最終ジャッジ日時 | 2026-07-31 21:59:30 |
| 合計ジャッジ時間 | 4,411 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | TLE * 1 -- * 32 |
ソースコード
from decimal import Decimal
import math
n = int(input())
for _ in range(n):
a, b = map(int, input().split())
print(math.ceil(Decimal(a)**Decimal('0.5') + Decimal(b)**Decimal('0.5') + Decimal('0.0000000000000001')))