mirror of
https://gitflic.ru/project/w0lf/bulls-and-cows-cpp.git
synced 2026-03-28 16:02:46 +03:00
Reverted indexing.
This commit is contained in:
@@ -40,7 +40,7 @@ bool CGame::IsEqual(const T number, const N digit, int i)
|
||||
|
||||
while ((--i) >= 0)
|
||||
{
|
||||
if (digit == number.at(i)) result = true;
|
||||
if (digit == number[i]) result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user