Problem flamethrower
User ZacharyTan2010
Submission Time 2024-02-07 16:46:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> i >> b;
| ^~~
flamethrower.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <algorithm>
+++ |+#include <iostream>
2 | #include <vector>
flamethrower.cpp:23:2: error: ‘cout’ was not declared in this scope
23 | cout << aa;
| ^~~~
flamethrower.cpp:23:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?