結果

問題 No.111 あばばばば
ユーザー evawenis
提出日時 2020-06-25 15:30:28
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 33 ms / 5,000 ms
コード長 161 bytes
コンパイル時間 1,795 ms
コンパイル使用メモリ 193,232 KB
最終ジャッジ日時 2025-01-11 10:12:10
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
	cin.tie(0),ios::sync_with_stdio(false);
	int l; cin>>l; l=(l-1)/2;
	cout<<(int64_t)(l+l)*l/2<<"\n"s;
}
0