diff options
Update BullsAndColls.cpp
1 files changed, 3 insertions, 4 deletions
| -rw-r--r-- | Sem. 05/BullsAndColls.cpp | 7 |
diff --git a/Sem. 05/BullsAndColls.cpp b/Sem. 05/BullsAndColls.cpp index 93594b6..706278b 100644 --- a/Sem. 05/BullsAndColls.cpp +++ b/Sem. 05/BullsAndColls.cpp @@ -6,10 +6,9 @@ using namespace std; // Въвежда се число от потребителя. (скриваме го) // Приемаме заявки от вида : -// x -// 2 бика и 2 крави. -const int DIGITS_COUNT = 5; - +// Вход: x +// Изход: 2 бика и 2 крави. +const int DIGITS_COUNT = 4; int getNumberLength(int n) { |
