Skip to content

Commit f4fc2fa

Browse files
committed
chore: format code with clang-format
1 parent 1e46c9a commit f4fc2fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

solution/0300-0399/0353.Design Snake Game/Solution.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class SnakeGame {
99
q.push_back(0);
1010
vis.insert(0);
1111
}
12-
12+
1313
int move(string direction) {
1414
int p = q.front();
1515
int i = p / n, j = p % n;

solution/0400-0499/0418.Sentence Screen Fitting/Solution.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class Solution {
22
public:
33
int wordsTyping(vector<string>& sentence, int rows, int cols) {
44
string s;
5-
for (auto& t: sentence) {
5+
for (auto& t : sentence) {
66
s += t;
77
s += " ";
88
}

0 commit comments

Comments
 (0)