結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
funakoshi
|
| 提出日時 | 2019-08-20 14:55:23 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 223 bytes |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 29,056 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-06 12:20:48 |
| 合計ジャッジ時間 | 914 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
int main(void)
{
int num,total=0;
scanf("%d",&num);
for(int i=1;i<=num;i++)
{
total+=i;
}
printf("%d",total);
}
funakoshi