結果
| 問題 |
No.2420 Simple Problem
|
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2023-08-12 14:01:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 196 bytes |
| コンパイル時間 | 377 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 75,008 KB |
| 最終ジャッジ日時 | 2024-11-19 17:05:10 |
| 合計ジャッジ時間 | 93,525 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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