結果

問題 No.2420 Simple Problem
ユーザー nikoro256
提出日時 2023-08-12 15:24:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 127 bytes
コンパイル時間 397 ms
コンパイル使用メモリ 82,272 KB
実行使用メモリ 77,184 KB
最終ジャッジ日時 2024-11-20 02:01:51
合計ジャッジ時間 21,654 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 27 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N=int(input())
for i in range(N):
    A,B=map(int,input().split())
    print(int((math.sqrt(A)+math.sqrt(B))//1+1))
0