Merge branch 'master' of https://github.com/thecodingwizard/usaco-guide
This commit is contained in:
commit
86f6584330
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ int main() {
|
||||||
for (int i = c; i < d; ++i) cover[i] = 1;
|
for (int i = c; i < d; ++i) cover[i] = 1;
|
||||||
int ans = 0;
|
int ans = 0;
|
||||||
for (int i = 0; i < 100; ++i) ans += cover[i];
|
for (int i = 0; i < 100; ++i) ans += cover[i];
|
||||||
cout << ans;
|
cout << ans << endl;
|
||||||
// cout << ans << "\n"; is OK
|
// cout << ans << "\n"; is OK
|
||||||
// cout << ans << " "; is NOT
|
// cout << ans << " "; is NOT
|
||||||
// cout << ans << "\n\n"; is NOT
|
// cout << ans << "\n\n"; is NOT
|
||||||
|
@ -70,7 +70,7 @@ int main() {
|
||||||
for (int i = c; i < d; ++i) cover[i] = 1;
|
for (int i = c; i < d; ++i) cover[i] = 1;
|
||||||
int ans = 0;
|
int ans = 0;
|
||||||
for (int i = 0; i < 100; ++i) ans += cover[i];
|
for (int i = 0; i < 100; ++i) ans += cover[i];
|
||||||
fout << ans;
|
fout << ans << endl;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Reference in a new issue