結果
問題 |
No.2420 Simple Problem
|
ユーザー |
|
提出日時 | 2023-08-12 15:27:28 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 175 bytes |
コンパイル時間 | 324 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 76,928 KB |
最終ジャッジ日時 | 2024-11-20 02:20:46 |
合計ジャッジ時間 | 20,097 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 33 |
ソースコード
import math N = int(input()) for i in range(N): A, B = map(int, input().split()) a = math.sqrt(A) b = math.sqrt(B) c = a + b c = round(c) print(c + 1)