結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2017-07-24 11:18:39 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 33 ms / 2,000 ms |
コード長 | 257 bytes |
コンパイル時間 | 5,348 ms |
コンパイル使用メモリ | 394,384 KB |
最終ジャッジ日時 | 2025-01-05 01:48:20 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> #include <boost/multiprecision/cpp_int.hpp> using namespace std; using namespace boost::multiprecision; int main() { cpp_int N, res = 0; cin >> N; for (int i = 1; i <= N; i++) { res += i; } cout << res << endl; return 0; }