Problem retrenchment
User Yuhmama
Submission Time 2026-06-25 09:35:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

retrenchment.cpp:4:1: error: ‘define’ does not name a type
4 | define int long long
| ^~~~~~
retrenchment.cpp: In function ‘int main()’:
retrenchment.cpp:9:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
9 | cin >> N >> x;
| ^~~
| std::cin
In file included from retrenchment.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
retrenchment.cpp:12:4: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
12 | cout << i;
| ^~~~
| std::cout
In file included from retrenchment.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~