0_0_15067740_4565.cpp: In function 'int main()': 0_0_15067740_4565.cpp:19:19: error: 'end1' was not declared in this scope beg = end1 = pos = 1; ^