結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2018-11-22 18:29:35 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 173 bytes |
コンパイル時間 | 570 ms |
コンパイル使用メモリ | 54,156 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-24 17:44:57 |
合計ジャッジ時間 | 1,517 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 22 |
ソースコード
#include <iostream> int main() { int sum = 0,N = 0; std::cin >> N; for (int i=1; i < N; i++) { sum += i; } std::cout << sum; return 0; }