結果
問題 |
No.1636 森
|
ユーザー |
![]() |
提出日時 | 2023-07-27 20:48:19 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 522 ms |
コンパイル使用メモリ | 66,052 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-04 22:29:29 |
合計ジャッジ時間 | 1,381 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | WA * 20 |
ソースコード
#include <iostream> #include <vector> using namespace std; int main(){ int N; cin >> N; int ans = (N * (N-1))/2; cout << ans << endl; // output }