結果
| 問題 |
No.111 あばばばば
|
| コンテスト | |
| ユーザー |
ei1333333
|
| 提出日時 | 2016-09-08 01:02:22 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 189 ms / 5,000 ms |
| コード長 | 195 bytes |
| コンパイル時間 | 1,418 ms |
| コンパイル使用メモリ | 157,396 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-15 21:24:53 |
| 合計ジャッジ時間 | 2,281 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
int N;
cin >> N;
long long ret = 0;
for(int i = 0; i < N / 2; i++) {
ret += 2 * (i + 1) - 1;
}
cout << ret << endl;
}
ei1333333