結果
| 問題 |
No.2186 冪乗の片側極限
|
| コンテスト | |
| ユーザー |
flora
|
| 提出日時 | 2023-01-13 21:30:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 187 bytes |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 51,840 KB |
| 最終ジャッジ日時 | 2024-12-24 16:33:30 |
| 合計ジャッジ時間 | 4,367 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 53 WA * 3 |
ソースコード
A=int(input())
B=int(input())
#0^0が定義されるために片側極限になってます
if A==0 and B==0:
print(0)
elif A==0:
print(0)
elif B==0:
print(1)
print(pow(A,B))
flora