Problem exam
User CuriousFox
Submission Time 2024-03-14 16:26:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:1:3: error: invalid preprocessing directive #inclue; did you mean #include?
1 | # inclue <bits/stdc++.h>
| ^~~~~~
| include
exam.cpp: In function ‘int main()’:
exam.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> exam;
| ^~~
exam.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | # inclue <bits/stdc++.h>
exam.cpp:7:3: error: ‘cout’ was not declared in this scope
7 | cout << "Hello World";
| ^~~~
exam.cpp:7:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
exam.cpp:13:3: error: ‘cout’ was not declared in this scope
13 | cout << num1 * num2;
| ^~~~
exam.cpp:13:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream&