20 lines
450 B
C++
20 lines
450 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int count = 0;
|
|
for (int i = 1; i < 100; ++i) {
|
|
for (int j = 1; j < 50; ++j) {
|
|
for (int k = 1; k < 20; ++k) {
|
|
if (i + j * 2 + 5 * k == 100) {
|
|
//cout << i << " " << j << " " << k << endl;
|
|
count++;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
cout << count << endl;
|
|
return 0;
|
|
}
|