結果
| 問題 |
No.2479 Sum of Squares
|
| ユーザー |
|
| 提出日時 | 2024-05-04 20:34:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 130 bytes |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-26 10:48:41 |
| 合計ジャッジ時間 | 2,420 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 RE * 2 |
ソースコード
import math
S=int(input())
ans=[]
while S:
t=int(math.sqrt(S))
t*=t
ans.append(t)
S-=t
print(len(ans))
print(*ans)