为什么我错了,哪位大佬帮忙看看?

lyh098 仙辞 2024-02-04 9:30:23 3

#include < bits / stdc++.h> using namespace std; int main() { int x, g, m; cin >> x >> g; x /= 10; g /= 20; if (x >= 1) { m = 1;

}
    if  (g >= 1) {
          
m = 1;
        
}
if (g < 1 && x < 1) {
    m = 0;
}
cout << m;

}

{{ vote && vote.total.up }}