Files
python/TangDou/XiTi/1240.cpp

16 lines
262 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
for (int i = 1;; i++) {
if (1.9 * i > (a + 0.1 * b)) {
cout << i - 1 << endl;
break;
}
}
return 0;
}