MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / kzo

Function kzo

user/codeforces/7C.Line.cpp:7–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5long long x,y;
6
7int kzo(int a,int b)
8{
9 if(b==0)
10 {
11 x=1;
12 y=0;
13 return a;
14 }
15 long long tmp=kzo(b,a%b);
16 long long t=x;
17 x=y;
18 y=(t-a/b*y);
19 return tmp;
20}
21
22int main()
23{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected