結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2018-05-26 17:29:58 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 6,940 KB |
実行使用メモリ | 16,384 KB |
最終ジャッジ日時 | 2024-06-28 18:14:25 |
合計ジャッジ時間 | 1,823 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 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; }