結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2017-06-19 12:25:19 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 154 bytes |
コンパイル時間 | 342 ms |
コンパイル使用メモリ | 28,416 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-14 09:28:09 |
合計ジャッジ時間 | 937 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <stdio.h> int main(void){ int n; scanf("%d", &n); int ans = 0; for(int i = 1; i <= n; i++){ ans += i; } printf("%d\n", ans); return 0; }