Problem shortest
User DoubleShaurya
Submission Time 2024-11-11 17:09:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shortest.cpp: In function ‘int main()’:
shortest.cpp:21:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
21 | cin >> number;
| ^~~
| std::cin
In file included from shortest.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~