結果

問題 No.2420 Simple Problem
ユーザー maru65536
提出日時 2023-08-12 14:23:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 199 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 27,776 KB
最終ジャッジ日時 2024-11-19 19:08:18
合計ジャッジ時間 88,815 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4 TLE * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *
getcontext().prec = 50
n=int(input())
eps=Decimal('0.00000000000000000001')
for _ in range(n):
    a,b=map(Decimal,input().split())
    print((a.sqrt()+b.sqrt()+eps).__ceil__())
0