結果

問題 No.476 正しくない平均
ユーザー Kura
提出日時 2019-02-19 16:11:21
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 107 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 53,852 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-12 06:56:07
合計ジャッジ時間 1,432 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

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