結果
問題 |
No.2479 Sum of Squares
|
ユーザー |
![]() |
提出日時 | 2023-09-13 23:51:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 159 bytes |
コンパイル時間 | 362 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-07-06 17:35:21 |
合計ジャッジ時間 | 4,856 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 20 RE * 2 |
ソースコード
from math import sqrt S=int(input()) rest=S for i in range(15): m=int(rest**0.5) rest-=int(rest**0.5)**2 print(m**2,end=" ") if rest==0: break print()