結果
| 問題 |
No.2420 Simple Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-12 15:27:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 180 bytes |
| コンパイル時間 | 338 ms |
| コンパイル使用メモリ | 82,160 KB |
| 実行使用メモリ | 77,024 KB |
| 最終ジャッジ日時 | 2024-11-20 02:27:17 |
| 合計ジャッジ時間 | 19,171 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 27 WA * 6 |
ソースコード
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 = math.floor(c)
print(c + 1)