結果
問題 | No.2479 Sum of Squares |
ユーザー |
![]() |
提出日時 | 2023-09-23 10:12:23 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 132 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 82,276 KB |
実行使用メモリ | 66,084 KB |
最終ジャッジ日時 | 2024-07-16 09:40:18 |
合計ジャッジ時間 | 2,345 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 RE * 2 |
ソースコード
#N,Q=map(int, input().split()) N=int(input()) ans=[] while N: s=int(N**0.5)**2 ans.append(s) N-=s print(len(ans)) print(*ans)