Problem 3nplus1
User alettuce
Submission Time 2024-04-05 14:03:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include #include <bits/stdc++.h>
| ^
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> a;
| ^~~
3nplus1.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include #include <bits/stdc++.h>
3nplus1.cpp:11:3: error: ‘cout’ was not declared in this scope
11 | cout << a << " ";
| ^~~~
3nplus1.cpp:11:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
3nplus1.cpp:15:3: error: ‘cout’ was not declared in this scope
15 | cout << a << " ";
| ^~~~
3nplus1.cpp:15:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include &l