結果
問題 | No.480 合計 |
ユーザー | m0ntBL4Nc |
提出日時 | 2019-09-01 18:08:40 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 183 bytes |
コンパイル時間 | 316 ms |
コンパイル使用メモリ | 28,800 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-28 21:17:58 |
合計ジャッジ時間 | 1,106 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <stdio.h> int main(void) { int n; scanf("%d", &n); int sum = 0; for(int i=1; i<=n; i++) { sum += i; } printf("%d\n", sum); return 0; }