結果
問題 | No.388 階段 (1) |
ユーザー |
![]() |
提出日時 | 2023-06-21 16:27:48 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 149 bytes |
コンパイル時間 | 155 ms |
コンパイル使用メモリ | 30,976 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-29 02:13:27 |
合計ジャッジ時間 | 920 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 12 |
ソースコード
#include <stdio.h> int main() { int n = 0; int ans = 0; scanf("%d", &n); for (int i = 0;i < n;i++) { ans += i + 1; } printf("%d", ans); }