0_0_25090860_22161.cpp: In function 'void extended_euclid(ll, ll, ll&, ll&)':
0_0_25090860_22161.cpp:13:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
return a;
^
0_0_25090860_22161.cpp:15:44: error: void value not ignored as it ought to be
ll rlt = extended_euclid(b, a % b, x, y);
^
0_0_25090860_22161.cpp:18:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return rlt;
^
|