結果
問題 |
No.2392 二平方和
|
ユーザー |
|
提出日時 | 2023-08-24 06:38:05 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 172 ms |
コンパイル使用メモリ | 82,380 KB |
実行使用メモリ | 61,588 KB |
最終ジャッジ日時 | 2024-12-22 19:39:03 |
合計ジャッジ時間 | 4,506 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 15 |
ソースコード
P = int(input()) import sys if P==2: print("Yes") sys.exit() l = [0]*(10**4) for i in range(10**4): l[i]==i**2 for i in range(2,10**4,2): for j in range(3,10**4,2): if l[i]+l[j]==P: print("Yes") sys.exit() print("No")