結果
| 問題 | No.480 合計 |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-03 10:21:11 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 209 bytes |
| 記録 | |
| コンパイル時間 | 52 ms |
| コンパイル使用メモリ | 36,352 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-23 14:26:07 |
| 合計ジャッジ時間 | 1,410 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 22 |
ソースコード
#include <stdio.h>
void main(void){
int n = 0 ,sum = 0;
int input = scanf("%d",&n);
if(input == 2){
printf("入力エラー\n");
}
for(int i = 1 ; i <= n ; i++ ){
sum += i;
}
printf("%d",sum);
}
Maeda