結果
| 問題 |
No.2479 Sum of Squares
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-22 21:21:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 112 bytes |
| コンパイル時間 | 133 ms |
| コンパイル使用メモリ | 82,040 KB |
| 実行使用メモリ | 66,308 KB |
| 最終ジャッジ日時 | 2024-07-08 11:58:39 |
| 合計ジャッジ時間 | 2,165 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 RE * 2 |
ソースコード
s = int(input()) ans = [] while s: t = int(s ** 0.5) s -= t * t ans.append(t * t) print(len(ans)) print(*ans)