We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb259d4 commit 1dba1afCopy full SHA for 1dba1af
exercises/practice/flower-field/.meta/example.cpp
@@ -1,8 +1,7 @@
1
#include "flower_field.h"
2
3
namespace flower_field {
4
-int score(const std::vector<std::string>& garden, size_t row,
5
- size_t column) {
+int score(const std::vector<std::string>& garden, size_t row, size_t column) {
6
int flowers{};
7
// north
8
if (row > 0 && garden.at(row - 1).at(column) == '*') ++flowers;
0 commit comments