Problem hungrycats2
User Informatics271
Submission Time 2026-08-08 23:29:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungrycats2.cpp:3:1: error: stray ‘##’ in program
3 | ##include <ratio>
| ^~
hungrycats2.cpp:3:3: error: ‘include’ does not name a type
3 | ##include <ratio>
| ^~~~~~~
hungrycats2.cpp: In function ‘int main()’:
hungrycats2.cpp:13:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
13 | cin>>N;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from hungrycats2.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
hungrycats2.cpp:15:2: error: ‘sort’ was not declared in this scope; did you mean ‘std::sort’?
15 | sort(A,A+N);
| ^~~~
| std::sort
In file included from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.