Problem 3nplus1
User herngr3y
Submission Time 2026-03-27 17:23:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:1:2: error: invalid preprocessing directive #identify; did you mean #ident?
1 | #identify <bits/stdc++.h>
| ^~~~~~~~
| ident
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> n;
| ^~~
3nplus1.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #identify <bits/stdc++.h>
3nplus1.cpp:10:3: error: ‘cout’ was not declared in this scope
10 | cout << n << n%2 << endl;
| ^~~~
3nplus1.cpp:10:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
3nplus1.cpp:10:23: error: ‘endl’ was not declared in this scope
10 | cout << n << n%2 << endl;
| ^~~~
3nplus1.cpp:1:1: note: ‘std::endl’ is defi