結果
| 問題 |
No.2420 Simple Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-02-23 09:28:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 130 bytes |
| コンパイル時間 | 372 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 77,440 KB |
| 最終ジャッジ日時 | 2024-09-29 04:57:18 |
| 合計ジャッジ時間 | 23,810 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 14 WA * 19 |
ソースコード
from math import isqrt for _ in range(int(input())): A, B = map(int, input().split()) print(isqrt(A + B + 2 * isqrt(A * B)) + 1)