Problem thumper2
User ubmmmay
Submission Time 2025-04-12 20:08:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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