結果

問題 No.480 合計
ユーザー tororo_shidorotororo_shidoro
提出日時 2018-10-21 18:19:16
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 28,672 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-19 03:25:36
合計ジャッジ時間 879 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(void){
    int n,result=0;
    scanf("%d",&n);
    for(int i=0;i<=n;i++){
        result+=i;
    }
    printf("%d",result);
}
0