結果
| 問題 | No.2420 Simple Problem |
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2023-08-12 13:59:53 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 82,228 KB |
| 実行使用メモリ | 122,616 KB |
| 最終ジャッジ日時 | 2026-09-26 17:55:33 |
| 合計ジャッジ時間 | 6,517 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | TLE * 1 -- * 32 |
ソースコード
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