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

Compile Error

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