제출 #129534

#제출 시각아이디문제언어결과실행 시간메모리
129534Meloric정렬하기 (IOI15_sorting)C++14
컴파일 에러
0 ms0 KiB
int l = 0; int r = ind[ia].size(); while(r-l>1){ int m = (r+l)/2; if(i+1<ind[ia][m].X)r = m; else l = m; }

컴파일 시 표준 에러 (stderr) 메시지

sorting.cpp:1:20: error: 'ind' was not declared in this scope
 int l = 0; int r = ind[ia].size();
                    ^~~
sorting.cpp:1:20: note: suggested alternative: 'int'
 int l = 0; int r = ind[ia].size();
                    ^~~
                    int
sorting.cpp:1:24: error: 'ia' was not declared in this scope
 int l = 0; int r = ind[ia].size();
                        ^~
sorting.cpp:2:9: error: expected unqualified-id before 'while'
         while(r-l>1){
         ^~~~~