結果
問題 | No.2392 二平方和 |
ユーザー | i_taku |
提出日時 | 2023-07-28 22:09:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 2,000 ms |
コード長 | 169 bytes |
コンパイル時間 | 171 ms |
コンパイル使用メモリ | 82,536 KB |
実行使用メモリ | 65,064 KB |
最終ジャッジ日時 | 2024-10-06 19:03:50 |
合計ジャッジ時間 | 2,081 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 |
ソースコード
P = int(input()) table = [i**2 for i in range(1 << 15)] table_set = set(table) for t in table: if P - t in table_set: print('Yes') exit() print('No')