0_0_33920192_9949.cpp: In function 'int main()': 0_0_33920192_9949.cpp:26:20: error: 'L' was not declared in this scope Dist = min(Dist, L - Dist); ^