Problem exam
User lucaskoh
Submission Time 2026-06-22 16:14:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
1 | #include#<bis/stdc++.h>
| ^
exam.cpp: In function ‘int main()’:
exam.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin x;
| ^~~
exam.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include#<bis/stdc++.h>
exam.cpp:8:10: error: ‘cout’ was not declared in this scope
8 | if(x==1){cout<< "Hello World";}
| ^~~~
exam.cpp:8:10: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
exam.cpp:11:5: error: ‘cout’ was not declared in this scope
11 | cout << (A*B);}
| ^~~~
exam.cpp:11:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?