結果
| 問題 |
No.2479 Sum of Squares
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-22 21:43:13 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 122 bytes |
| コンパイル時間 | 260 ms |
| コンパイル使用メモリ | 82,332 KB |
| 実行使用メモリ | 54,380 KB |
| 最終ジャッジ日時 | 2024-07-08 12:27:49 |
| 合計ジャッジ時間 | 6,131 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 22 |
ソースコード
import math
S = int(input())
ans = []
while S:
x = math.isqrt(S)
x = x**2
ans.append(x)
S -= x
print(*ans)