結果

問題 No.2937 Sigma Plus Problem
ユーザー T k
提出日時 2025-02-25 20:27:21
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 127 bytes
コンパイル時間 577 ms
コンパイル使用メモリ 61,080 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2025-02-25 20:27:23
合計ジャッジ時間 1,770 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 13 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;
int main(){
	unsigned long long n,ans=0;
	cin>>n;
	ans=(n/2)*(n+1);
	cout<<ans<<endl;
}
0