0_0_18642326_28907.cpp:2:11: error: '::main' must return 'int' void main() ^ 0_0_18642326_28907.cpp: In function 'int main()': 0_0_18642326_28907.cpp:10:1: error: expected '(' before 'y' y=-x; ^