結果
| 問題 |
No.2420 Simple Problem
|
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2023-08-12 13:59:53 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 196 bytes |
| コンパイル時間 | 299 ms |
| コンパイル使用メモリ | 82,792 KB |
| 実行使用メモリ | 153,252 KB |
| 最終ジャッジ日時 | 2024-11-19 16:59:08 |
| 合計ジャッジ時間 | 94,132 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 TLE * 30 |
ソースコード
import decimal
N = int(input())
AB = [list(input().split()) for _ in range(N)]
r = decimal.Decimal('0.5')
for a,b in AB:
a,b = decimal.Decimal(a),decimal.Decimal(b)
print(int(a**r+b**r)+1)
H20