Problem | maximum |
---|---|
User | Slayer555 |
Submission Time | 2023-12-04 16:05:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximum.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
1 | #include(bits/stdc++.h>
| ^
maximum.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main(){
| ~~~
maximum.cpp: In function ‘int main()’:
maximum.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> x;
| ^~~
maximum.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include(bits/stdc++.h>
maximum.cpp:9:3: error: ‘cout’ was not declared in this scope
9 | cout << x;
| ^~~~
maximum.cpp:9:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
maximum.cpp:12:3: error: ‘cout’ was not declared in this scope
12