题解 2783: 判断是否为两位数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

有错误请指出

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){int a;scanf("%d",&a);if(a/10==0){ printf("0");}else{ pri……

2783: 判断是否为两位数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a;    scanf("%d",&a);    if(a>=10&&a<=99){       ……

判断是否为两位数

摘要:解题思路:将输入的整数存在列表中 判断列表长度 就可以得出是否为两位数注意事项:参考代码:while True:    try:        num = input()        num_lis……

超简单方法之判断是否为两位数

摘要:解题思路:这里有个知识点就是%n,这里输入的时候会自动辨别出其输入的位数。所以直接if结束,听懂掌声注意事项:参考代码:#includeint main(){    int a;    int n; ……

判断是否为两位数

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a;    cin>>a;    if(a>=10 &&……

判断是否为两位数

摘要:解题思路:注意事项:参考代码:n=int(input())if 10<=n<=99:    print(1)else:    print(0)……

判断是否为两位数

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int x;     scanf("%d",&x);     if(0<x && x<=1……

C++简单解法

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(void){ int&nbs……