結果
| 問題 | 
                            No.1089 三変数方程式
                             | 
                    
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-09-11 18:27:06 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 155 bytes | 
| コンパイル時間 | 1,287 ms | 
| コンパイル使用メモリ | 27,136 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-12-26 09:37:09 | 
| 合計ジャッジ時間 | 2,100 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 15 | 
ソースコード
#include <stdio.h>
#include <stdint.h>
int32_t main() {
  uint32_t n;
  scanf("%u", &n);
  const uint32_t x = (n + 1) * (n + 2) / 2;
  printf("%u", x);
}