結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2018-09-14 18:14:55 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 182 bytes |
コンパイル時間 | 920 ms |
コンパイル使用メモリ | 27,648 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-05 21:10:05 |
合計ジャッジ時間 | 982 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <stdio.h> int main() { int N; int sum=0; int i; scanf("%d",&N); for(i=1;i<=N;i++){ sum+=i; } printf("%d",sum); return 0; }