結果

問題 No.2420 Simple Problem
ユーザー nikoro256nikoro256
提出日時 2023-08-12 15:24:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 127 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 82,372 KB
実行使用メモリ 77,256 KB
最終ジャッジ日時 2024-04-30 09:12:46
合計ジャッジ時間 20,039 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
52,588 KB
testcase_01 AC 276 ms
76,544 KB
testcase_02 AC 54 ms
67,244 KB
testcase_03 AC 151 ms
76,540 KB
testcase_04 AC 462 ms
76,400 KB
testcase_05 AC 327 ms
76,468 KB
testcase_06 AC 575 ms
76,828 KB
testcase_07 AC 576 ms
76,476 KB
testcase_08 AC 579 ms
76,384 KB
testcase_09 AC 568 ms
76,372 KB
testcase_10 AC 576 ms
76,616 KB
testcase_11 AC 608 ms
76,712 KB
testcase_12 AC 584 ms
76,372 KB
testcase_13 AC 562 ms
76,728 KB
testcase_14 AC 585 ms
76,688 KB
testcase_15 AC 567 ms
76,376 KB
testcase_16 AC 634 ms
76,464 KB
testcase_17 AC 595 ms
76,376 KB
testcase_18 AC 571 ms
76,444 KB
testcase_19 AC 605 ms
76,712 KB
testcase_20 AC 622 ms
76,652 KB
testcase_21 AC 605 ms
76,316 KB
testcase_22 AC 599 ms
76,400 KB
testcase_23 AC 580 ms
76,400 KB
testcase_24 AC 580 ms
76,784 KB
testcase_25 AC 585 ms
76,388 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 32 ms
53,364 KB
testcase_33 AC 271 ms
76,656 KB
権限があれば一括ダウンロードができます

ソースコード

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