0_0_28550920_9927.cpp: In function 'int main()': 0_0_28550920_9927.cpp:34:18: error: 'rigth' was not declared in this scope mid = left + (rigth - left)/2; ^