結果
| 問題 | 
                            No.2174 3 O'clock Easy
                             | 
                    
| ユーザー | 
                             dolp
                         | 
                    
| 提出日時 | 2022-12-22 02:23:55 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                            (最新)
                                AC
                                 
                             
                            (最初)
                            
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 189 bytes | 
| コンパイル時間 | 1,552 ms | 
| コンパイル使用メモリ | 165,068 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-21 07:39:59 | 
| 合計ジャッジ時間 | 2,024 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 3 | 
| other | AC * 1 WA * 8 | 
ソースコード
#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;
}
            
            
            
        
            
dolp