feat: some refactors

This commit is contained in:
2021-02-02 22:35:28 +01:00
parent 4673a23db7
commit e8816cfdfd
10 changed files with 162 additions and 57 deletions

View File

@@ -88,3 +88,10 @@ int maxi(int a, int b) {
}
return b;
}
int mini(int a, int b) {
if (a <= b) {
return a;
}
return b;
}