結果
| 問題 | No.2420 Simple Problem |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-12 15:27:50 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 180 bytes |
| 記録 | |
| コンパイル時間 | 142 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 81,664 KB |
| 最終ジャッジ日時 | 2026-05-14 04:34:06 |
| 合計ジャッジ時間 | 14,002 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)