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