結果
| 問題 | No.1218 Something Like a Theorem |
| コンテスト | |
| ユーザー |
_matumo_
|
| 提出日時 | 2021-02-13 00:50:28 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 2,000 ms |
| コード長 | 119 bytes |
| 記録 | |
| コンパイル時間 | 335 ms |
| コンパイル使用メモリ | 20,664 KB |
| 実行使用メモリ | 36,024 KB |
| 最終ジャッジ日時 | 2026-04-02 19:47:48 |
| 合計ジャッジ時間 | 2,671 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
N,Z=map(int,input().split()) W=Z**N S="No" for x in range(1,Z): y=(W-x**N)**(1/N) if y==int(y):S="Yes";break print(S)
_matumo_