You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
for (int i = 0; i <= 50; ++i) {
|
|
if (i * 0.80 - (50 - i) * 0.30 == 18) {
|
|
cout << i << endl;
|
|
break;
|
|
}
|
|
}
|
|
return 0;
|
|
}
|