結果
| 問題 | No.111 あばばばば |
| コンテスト | |
| ユーザー |
cocomoff
|
| 提出日時 | 2019-08-07 19:45:09 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
|
| 実行時間 | 118 ms / 5,000 ms |
| + 472µs | |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 828 ms |
| コンパイル使用メモリ | 174,520 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-17 14:31:13 |
| 合計ジャッジ時間 | 2,361 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int L; cin >> L;
ll ans = 0;
for (int i = 1; i <= L - 2; i += 2)
ans += i;
cout << ans << endl;
}
cocomoff