Problem catsort
User Nikelodean
Submission Time 2025-12-01 10:14:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catsort.cpp: In function ‘int main()’:
catsort.cpp:10:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
10 | cin >> N >> T;
| ^~~
| std::cin
In file included from catsort.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
catsort.cpp:31:10: error: expected ‘;’ before ‘}’ token
31 | return 0
| ^
| ;
32 | }
| ~