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