0_0_38211718_27549.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_38211718_27549.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_38211718_27549.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_38211718_27549.cpp: In function 'int main()':
0_0_38211718_27549.cpp:21:7: error: 'cin' was not declared in this scope
while(cin>>N && N != 0){
^
0_0_38211718_27549.cpp:23:1: error: 'vector' was not declared in this scope
vector tj_horses;
^
0_0_38211718_27549.cpp:25:8: error: expected ';' before 'king_horse'
vector king_horse;
^
0_0_38211718_27549.cpp:33:1: error: 'tj_horses' was not declared in this scope
tj_horses.push_back(temp);
^
0_0_38211718_27549.cpp:43:1: error: 'king_horse' was not declared in this scope
king_horse.push_back(temp);
^
0_0_38211718_27549.cpp:49:6: error: 'tj_horses' was not declared in this scope
sort(tj_horses.begin(), tj_horses.end(), cmp);
^
0_0_38211718_27549.cpp:49:45: error: 'sort' was not declared in this scope
sort(tj_horses.begin(), tj_horses.end(), cmp);
^
0_0_38211718_27549.cpp:51:6: error: 'king_horse' was not declared in this scope
sort(king_horse.begin(), king_horse.end(), cmp);
^
0_0_38211718_27549.cpp:123:1: error: 'cout' was not declared in this scope
cout<
^
0_0_38211718_27549.cpp:125:1: error: expected primary-expression before '}' token
}
^
|