結果
| 問題 | No.2479 Sum of Squares |
| コンテスト | |
| ユーザー |
timi
|
| 提出日時 | 2023-09-23 10:12:23 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 132 bytes |
| 記録 | |
| コンパイル時間 | 191 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 65,024 KB |
| 最終ジャッジ日時 | 2026-03-30 22:03:56 |
| 合計ジャッジ時間 | 2,058 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
timi