質問するログイン新規登録

質問編集履歴

2

エラーをINT型に変更したものに変更

2018/11/07 03:21

投稿

opyon
opyon

スコア1009

title CHANGED
File without changes
body CHANGED
@@ -15,9 +15,7 @@
15
15
 
16
16
  ###エラー
17
17
  ```
18
- c:\workvs\alds1_5_2.cpp:29:36:
19
- error: no matching function for call to
20
- 'merge(std::vector<long long unsigned int>&, long long unsigned int&, long long unsigned int&, long long unsigned int&)'
18
+ c:\workvs\qa.cpp:13:36: error: no matching function for call to 'merge(std::vector<int>&, int&, int&, int&)'
21
19
  merge(vec, left, mid, right);
22
20
  ```
23
21
  [エラー画像](https://gyazo.com/17049ba332870603926644a7c8eb5ab9)

1

不要なマクロ削除

2018/11/07 03:20

投稿

opyon
opyon

スコア1009

title CHANGED
File without changes
body CHANGED
@@ -24,7 +24,6 @@
24
24
  ###サンプルコード
25
25
  ```C++
26
26
  #include <bits/stdc++.h>
27
- #define rep(i, m, n) for (int i = m; i < n; ++i)
28
27
  const int INF = 2.19e15 + 1;
29
28
 
30
29
  void mergeSort(std::vector<int> vec, int left, int right)