Problem gcd
User Kiameimon
Submission Time 2023-10-12 08:17:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:59:2: error: stray ‘#’ in program
59 | }#include <bits/stdc++.h>
| ^
gcd.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
gcd.cpp: In function ‘int main()’:
gcd.cpp:47:3: error: ‘ios_base’ has not been declared
47 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
gcd.cpp:49:3: error: ‘cin’ was not declared in this scope
49 | cin.tie(0);
| ^~~
gcd.cpp:53:3: error: ‘cout’ was not declared in this scope
53 | cout << least_abs_remainder(x,y);
| ^~~~
gcd.cpp: At global scope:
gcd.cpp:59:3: error: ‘include’ does not name a type
59 | }#include <bits/stdc++.h>
| ^~~~~~~
gcd.cpp:65:5: error: redefinition of ‘long long int euclidean_algorithm(long long int, long long int)’
65 | int euclidean_algorithm(int a,int b){
| ^~~~~~~~~~~~~~~~~~~
gcd.cpp:7:5: note: ‘long long int euclidean_al