結果
問題 | No.71 そろばん |
ユーザー |
![]() |
提出日時 | 2020-11-30 21:46:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 51 ms / 5,000 ms |
コード長 | 106 bytes |
コンパイル時間 | 161 ms |
コンパイル使用メモリ | 82,300 KB |
実行使用メモリ | 60,560 KB |
最終ジャッジ日時 | 2024-09-13 02:36:51 |
合計ジャッジ時間 | 2,167 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
N = int(input()) res = 0 for i in range(0, N + 1): res = max(res, i + (N - i) * (i + 1)) print(res)