0_0_38899629_31562.cpp: In function 'int main()':
0_0_38899629_31562.cpp:123:12: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
123 | while (cin >> n) {
| ^~~
| std::cin
In file included from .\stdc++.h:146:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~
|