题解|c++ & python
2025-07-23 11:10:25
发布于:上海
0阅读
0回复
0点赞
c++解法
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
if(n >= 10 && n <= 99)cout << '1';
else cout << '0';
return 0;
}
python解法
a = int (input());
if a >= 10 and a <= 99:
print('1')
else:
print('0')
这里空空如也
有帮助,赞一个