Problem exam
User jiazethesigma
Submission Time 2025-11-16 21:04:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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