Skip to content

Commit f6fedbf

Browse files
committed
aceito
1 parent d405269 commit f6fedbf

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Exercicios/Campo Minado.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ int main() {
1313
for (int i = 0; i < n; i++) {
1414
int q = 0;
1515
q = q + c[i];
16+
1617
if (i < n - 1) q = q + c[i + 1];
1718
if (i > 0) q = q + c[i - 1];
1819

Exercicios/Código (OBI 2015).cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ int main() {
1717
}
1818
}
1919
}
20+
2021
cout << cont;
2122

2223
return 0;

Exercicios/Expressões.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ int main(){
1010
bool ok = true;
1111

1212
cin >> n;
13+
1314
for(int j = 0; j < n; j ++){
1415

1516
cin >> S;

Exercicios/Fita Colorida.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ int main() {
1717
if (v[x] != 0) {
1818
c++;
1919
v[x] = min(9, c);
20-
} else {
21-
c = 0;
22-
}
20+
} else c = 0;
2321
}
2422
}
2523
}

0 commit comments

Comments
 (0)