bubblesort2.cpp: In function 'std::vector<int> countScans(std::vector<int>, std::vector<int>, std::vector<int>)':
bubblesort2.cpp:6:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,n) for(int i = 0;i < n;i++)
bubblesort2.cpp:10:6:
REP(i,x.size()){
~~~~~~~~~~
bubblesort2.cpp:10:2: note: in expansion of macro 'REP'
REP(i,x.size()){
^~~
bubblesort2.cpp:6:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,n) for(int i = 0;i < n;i++)
bubblesort2.cpp:14:7:
REP(i,a.size()){
~~~~~~~~~~
bubblesort2.cpp:14:3: note: in expansion of macro 'REP'
REP(i,a.size()){
^~~