結果
| 問題 |
No.111 あばばばば
|
| コンテスト | |
| ユーザー |
cocomoff
|
| 提出日時 | 2019-08-07 19:45:09 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 177 ms / 5,000 ms |
| コード長 | 206 bytes |
| コンパイル時間 | 1,247 ms |
| コンパイル使用メモリ | 157,400 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-18 18:48:43 |
| 合計ジャッジ時間 | 1,904 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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