結果

問題 No.2420 Simple Problem
ユーザー sepa38sepa38
提出日時 2023-07-15 15:27:20
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 137 bytes
コンパイル時間 2,583 ms
コンパイル使用メモリ 81,672 KB
実行使用メモリ 76,228 KB
最終ジャッジ日時 2023-10-17 01:48:47
合計ジャッジ時間 26,319 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,636 KB
testcase_01 AC 300 ms
76,196 KB
testcase_02 AC 59 ms
66,044 KB
testcase_03 AC 161 ms
76,196 KB
testcase_04 AC 508 ms
76,200 KB
testcase_05 AC 353 ms
76,196 KB
testcase_06 AC 617 ms
76,196 KB
testcase_07 AC 606 ms
76,196 KB
testcase_08 AC 617 ms
76,196 KB
testcase_09 AC 617 ms
76,196 KB
testcase_10 AC 619 ms
76,196 KB
testcase_11 AC 612 ms
76,196 KB
testcase_12 AC 640 ms
76,196 KB
testcase_13 AC 603 ms
76,196 KB
testcase_14 AC 611 ms
76,196 KB
testcase_15 AC 626 ms
76,196 KB
testcase_16 AC 599 ms
76,196 KB
testcase_17 AC 655 ms
76,196 KB
testcase_18 AC 605 ms
76,196 KB
testcase_19 AC 618 ms
76,196 KB
testcase_20 AC 623 ms
76,196 KB
testcase_21 AC 607 ms
76,196 KB
testcase_22 AC 622 ms
76,196 KB
testcase_23 AC 605 ms
76,196 KB
testcase_24 AC 629 ms
76,196 KB
testcase_25 AC 621 ms
76,196 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 36 ms
53,640 KB
testcase_33 AC 293 ms
76,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
for _ in range(int(input())):
  a, b = map(int, input().split())
  x = math.floor(math.sqrt(a) + math.sqrt(b) + 1)
  print(x)
0