0_0_29200770_12917.cpp: In function 'int main()': 0_0_29200770_12917.cpp:52:5: error: 'cin' was not declared in this scope cin >> cnt; ^