paprike.cpp: In function 'void solve()':
paprike.cpp:25:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
25 | cin >> n >> k;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:146,
from paprike.cpp:3:
/usr/include/c++/13/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~
paprike.cpp:36:13: error: 'sum' was not declared in this scope; did you mean 'sm'?
36 | sum = h[i];
| ^~~
| sm
paprike.cpp:39:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
39 | cout << x << "\n";
| ^~~~
| std::cout
/usr/include/c++/13/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
paprike.cpp: In function 'int main()':
paprike.cpp:18:16: error: 'ios_base' has not been declared
18 | #define eldaee ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~~~~~~
paprike.cpp:44:5: note: in expansion of macro 'eldaee'
44 | eldaee
| ^~~~~~
paprike.cpp:18:46: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
18 | #define eldaee ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~
paprike.cpp:44:5: note: in expansion of macro 'eldaee'
44 | eldaee
| ^~~~~~
/usr/include/c++/13/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~
paprike.cpp:18:58: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
18 | #define eldaee ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~~
paprike.cpp:44:5: note: in expansion of macro 'eldaee'
44 | eldaee
| ^~~~~~
/usr/include/c++/13/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~