結果
問題 | No.2479 Sum of Squares |
ユーザー |
![]() |
提出日時 | 2023-09-22 21:28:57 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 161 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 81,896 KB |
実行使用メモリ | 65,664 KB |
最終ジャッジ日時 | 2024-07-08 12:09:56 |
合計ジャッジ時間 | 4,044 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | TLE * 1 -- * 21 |
ソースコード
s=int(input())a=[]while s>0:for i in range(s//(int(s**0.5)**2)):a+=[int(s**0.5)**2]s-=(int(s**0.5)**2)*(s//(int(s**0.5)**2))print(len(a))print(*a)