結果
| 問題 |
No.2420 Simple Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-12 15:20:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 196 bytes |
| コンパイル時間 | 273 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 29,220 KB |
| 最終ジャッジ日時 | 2024-11-20 01:28:09 |
| 合計ジャッジ時間 | 84,938 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 7 TLE * 26 |
ソースコード
from decimal import *
getcontext().prec = 20
n = int(input())
eps = Decimal('1e-15')
for _ in range(n):
a, b = map(Decimal, input().split())
print((a.sqrt() + b.sqrt() + eps).__ceil__())