Skip to content

Commit

Permalink
aceito
Browse files Browse the repository at this point in the history
  • Loading branch information
BhryanS2 committed Jan 4, 2021
1 parent d405269 commit f6fedbf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Exercicios/Campo Minado.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ int main() {
for (int i = 0; i < n; i++) {
int q = 0;
q = q + c[i];

if (i < n - 1) q = q + c[i + 1];
if (i > 0) q = q + c[i - 1];

Expand Down
1 change: 1 addition & 0 deletions Exercicios/Código (OBI 2015).cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ int main() {
}
}
}

cout << cont;

return 0;
Expand Down
1 change: 1 addition & 0 deletions Exercicios/Expressões.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ int main(){
bool ok = true;

cin >> n;

for(int j = 0; j < n; j ++){

cin >> S;
Expand Down
4 changes: 1 addition & 3 deletions Exercicios/Fita Colorida.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ int main() {
if (v[x] != 0) {
c++;
v[x] = min(9, c);
} else {
c = 0;
}
} else c = 0;
}
}
}
Expand Down

0 comments on commit f6fedbf

Please sign in to comment.