fix indentation of greatestCommonDivisor
This commit is contained in:
parent
7256b3df65
commit
561eac816b
@ -51,7 +51,10 @@
|
|||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
|
||||||
int greatestCommonDivisor (int a, int b) {
|
namespace
|
||||||
|
{
|
||||||
|
int greatestCommonDivisor(int a, int b)
|
||||||
|
{
|
||||||
while (b != 0)
|
while (b != 0)
|
||||||
{
|
{
|
||||||
int t = b;
|
int t = b;
|
||||||
@ -61,6 +64,7 @@ int greatestCommonDivisor (int a, int b) {
|
|||||||
|
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
namespace ix
|
namespace ix
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user