結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2018-05-26 17:30:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 256 bytes |
コンパイル時間 | 475 ms |
コンパイル使用メモリ | 63,344 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 18:14:27 |
合計ジャッジ時間 | 1,201 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
// no.480 合計 #include <iostream> #include <string> int main(int argc, char *argv[]); int main(int argc, char *argv[]) { int N; std::cin >> N; std::cout << static_cast<int>(N*(N+1)/2) << std::endl << std::flush; return 0; }