結果

問題 No.111 あばばばば
ユーザー 👑 obakyan
提出日時 2019-03-31 09:56:58
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 285 bytes
コンパイル時間 1,481 ms
コンパイル使用メモリ 71,584 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-21 05:51:42
合計ジャッジ時間 1,515 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>
#include <cstdlib>
#include <cstddef>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
#include <iostream>
#include <iomanip>

int main(void)
{
	long a;
    std::cin >> a;
    a = (a - 1) / 2;
    std::cout << a * a << std::endl;
	return 0;
}
0