結果

問題 No.2174 3 O'clock Easy
ユーザー dolpdolp
提出日時 2022-12-22 02:13:06
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 189 bytes
コンパイル時間 1,544 ms
コンパイル使用メモリ 165,116 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-21 07:39:51
合計ジャッジ時間 2,001 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 1 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll=long long;
using vell=vector<long long>;
using vs=vector<string>;
int main(){
  ll N;
  cin>>N;
  cout<<N*(N+1)/2<<endl;
  return 0;
}
0