結果
問題 | No.2479 Sum of Squares |
ユーザー |
![]() |
提出日時 | 2023-09-22 21:49:33 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 168 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 11,264 KB |
最終ジャッジ日時 | 2024-07-08 12:33:54 |
合計ジャッジ時間 | 2,089 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 RE * 2 |
ソースコード
from decimal import Decimals = int(input())ans = list()while True:if s == 0:breaknum = int(Decimal(s**(1/2)))ans.append(num*num)s -= num*numprint(len(ans))print(*ans)