結果
| 問題 | No.2420 Simple Problem |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-12 14:26:33 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 341 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 97,452 KB |
| 最終ジャッジ日時 | 2026-05-14 00:24:21 |
| 合計ジャッジ時間 | 9,026 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 3 TLE * 1 -- * 29 |
ソースコード
from decimal import *
getcontext().prec = 20
n=int(input())
eps=Decimal('0.00000000000000000001')
for _ in range(n):
a,b=map(Decimal,input().split())
print((a.sqrt()+b.sqrt()+eps).__ceil__())