結果
| 問題 | No.2937 Sigma Plus Problem |
| コンテスト | |
| ユーザー |
nekoti
|
| 提出日時 | 2024-10-18 21:34:13 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 218 bytes |
| 記録 | |
| コンパイル時間 | 211 ms |
| コンパイル使用メモリ | 36,836 KB |
| 最終ジャッジ日時 | 2026-02-22 12:02:52 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 WA * 3 |
ソースコード
#include<stdio.h>
#include<stdbool.h>
#include<string.h>
#include<stdlib.h>
int main(void)
{
int scan;//scanf警告用
unsigned long long n;
scan=scanf("%llu",&n);
n=(n+1)*n/2;
printf("%llu",n);
return 0;
}
nekoti