結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2022-03-09 17:51:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 229 bytes |
コンパイル時間 | 1,499 ms |
コンパイル使用メモリ | 166,240 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 17:37:02 |
合計ジャッジ時間 | 2,342 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define intl long long int main() { int N; cin >> N; int sum = 0; for(int n = 1;n <= N;n++) { sum += n; } cout << sum << endl; return 0; }