Problem | gcd |
---|---|
User | GenericUsername |
Submission Time | 2023-02-11 21:29:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp:1:2: error: invalid preprocessing directive #inlucde; did you mean #include?
1 | #inlucde <iostream>
| ^~~~~~~
| include
gcd.cpp: In function ‘int main()’:
gcd.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> num1, num2;
| ^~~
gcd.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <cmath>
+++ |+#include <iostream>
3 | using namespace std;
gcd.cpp:17:2: error: ‘cout’ was not declared in this scope
17 | cout << hcf;
| ^~~~
gcd.cpp:17:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?