mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-09 05:27:11 +08:00
resolve else clause braces error
This commit is contained in:
@@ -16,8 +16,7 @@ int binExpo(int a, int b) {
|
||||
int res = binExpo(a, b/2);
|
||||
if (b%2) {
|
||||
return res*res*a;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
return res*res;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user