結果

問題 No.480 合計
ユーザー TaK7907
提出日時 2017-10-05 02:07:12
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 129 bytes
コンパイル時間 613 ms
コンパイル使用メモリ 52,860 KB
実行使用メモリ 13,696 KB
最終ジャッジ日時 2024-11-16 18:57:06
合計ジャッジ時間 70,580 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other TLE * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
int main()
{
int n;
int ans{0};
std::cin>>n;
for(int i=0; i <=n; ++n){
ans+=i;
}
std::cout<<ans;
return 0;
}

0