This website works better with JavaScript.
Explore
Help
Register
Sign In
lyc
/
my_solutions
mirror of
https://github.com/TooYoungTooSimp/my_solutions.git
Watch
1
Star
0
Fork
You've already forked my_solutions
0
Code
Releases
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51276e82ca
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '51276e82ca'
${ noResults }
my_solutions
/
省选准备
/
assets
/
day3
/
inv.cpp
7 lines
91 B
C++
Raw
Blame
History
int
inv
(
int
a
,
int
m
)
{
int
x
,
y
;
exgcd
(
a
,
m
,
x
,
y
)
;
return
(
x
%
m
+
m
)
%
m
;
}
View Git Blame
Copy Permalink