結果
| 問題 | 
                            No.2937 Sigma Plus Problem
                             | 
                    
| コンテスト | |
| ユーザー | 
                             nekoti
                         | 
                    
| 提出日時 | 2024-10-18 21:25:24 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 275 bytes | 
| コンパイル時間 | 471 ms | 
| コンパイル使用メモリ | 27,904 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-10-18 21:53:53 | 
| 合計ジャッジ時間 | 1,234 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 17 WA * 3 | 
ソースコード
#define _DEBUG 0
#if _DEBUG
#endif
#include<stdio.h>
#include<stdbool.h>
#include<string.h>
#include<stdlib.h>
int main(void)
{
  int scan;//scanf警告用
  int ans=0;
  int i, j;
  
  unsigned long long n;
  scan=scanf("%llu",&n);
  printf("%llu",(n+1)*n/2);
  return 0;
}
            
            
            
        
            
nekoti