結果

問題 No.2937 Sigma Plus Problem
ユーザー nekoti
提出日時 2024-10-18 22:54:22
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 339 ms
コンパイル使用メモリ 28,032 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-10-18 22:56:42
合計ジャッジ時間 975 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 7 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<stdbool.h>
#include<string.h>
#include<stdlib.h>
int main(void)
{
  int scan;//scanf警告用
  unsigned long long n;
  scan=scanf("%llu",&n);
  n=(n+1)/2*n;
  printf("%llu",n);
  return 0;
}
0