結果
| 問題 |
No.111 あばばばば
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-21 01:57:05 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 139 bytes |
| コンパイル時間 | 132 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 15,744 KB |
| 最終ジャッジ日時 | 2024-06-30 17:33:45 |
| 合計ジャッジ時間 | 6,685 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 TLE * 1 -- * 6 |
ソースコード
N = int(input())
N1 = (N - 1) // 2
sum = 0
# for i in range(1, N1 + 1):
# sum += i
for i in range(1, N1):
sum += i*2
print(sum+N1)