Problem gcd
User meal
Submission Time 2024-11-06 14:45:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
1 | #incldue <bits/stdc++.h>
| ^~~~~~~
| include
gcd.cpp: In function ‘int main()’:
gcd.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> x >> y;
| ^~~
gcd.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #incldue <bits/stdc++.h>
gcd.cpp:12:27: error: found ‘:’ in nested-name-specifier, expected ‘::’
12 | for (int i = 0; i <= less: i ++){
| ^
| ::
gcd.cpp:12:23: error: ‘less’ is not a class, namespace, or enumeration
12 | for (int i = 0; i <= less: i ++){
| ^~~~
gcd.cpp:17:2: error: ‘cout’ was not declared in this scope
17 | cout << i;
| ^~~~
gcd.c