結果
問題 | No.2479 Sum of Squares |
ユーザー |
![]() |
提出日時 | 2023-09-22 21:30:33 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 103 bytes |
コンパイル時間 | 138 ms |
コンパイル使用メモリ | 82,204 KB |
実行使用メモリ | 66,988 KB |
最終ジャッジ日時 | 2024-07-08 12:11:23 |
合計ジャッジ時間 | 3,798 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | TLE * 1 -- * 21 |
ソースコード
s=int(input())a=[]while s>0:t=int(s**0.5)**2a+=[t]*(s//t)s-=t*(s//t)print(len(a))print(*a)