結果
| 問題 |
No.2937 Sigma Plus Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-27 08:13:21 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 188 bytes |
| コンパイル時間 | 642 ms |
| コンパイル使用メモリ | 28,544 KB |
| 実行使用メモリ | 12,200 KB |
| 最終ジャッジ日時 | 2024-11-27 08:13:36 |
| 合計ジャッジ時間 | 15,336 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 TLE * 1 |
| other | AC * 6 TLE * 14 |
ソースコード
#include <stdio.h>
int main() {
long long N;
int i;
long long sum = 0;
scanf("%lld", &N);
for(i = 0; i <= N; i++) {
sum += i;
}
printf("%lld\n", sum);
}