結果
| 問題 | No.71 そろばん |
| コンテスト | |
| ユーザー |
srup٩(๑`н´๑)۶
|
| 提出日時 | 2016-08-26 14:52:56 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 5,000 ms |
| + 41µs | |
| コード長 | 107 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 80,912 KB |
| 実行使用メモリ | 82,176 KB |
| 最終ジャッジ日時 | 2026-07-18 07:41:18 |
| 合計ジャッジ時間 | 3,255 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
n = input() ans = 0 for x in range(1, n + 1): now = -(x * x) + (x * n) + n ans = max(ans, now) print ans
srup٩(๑`н´๑)۶