結果
問題 |
No.480 合計
|
ユーザー |
![]() |
提出日時 | 2019-04-01 13:57:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 147 bytes |
コンパイル時間 | 639 ms |
コンパイル使用メモリ | 63,180 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-25 00:07:02 |
合計ジャッジ時間 | 1,434 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 22 |
ソースコード
#include <iostream> int main() { int n; std::cin >> n; int ans=0; for(int i=n;i<0;i--) ans+=i; std::cout << ans << std::endl; }