全部评论 4

  • #include <iostream>
    using namespace std;
    int main()
    {
        int a;
        cin>>a;
        if(a>=10)cout<<"yes";
        else cout<<"no";
    }
    

    3天前 来自 山西

    0
  • 666

    3天前 来自 山西

    0
  • #include<cstdio>
    #include<cstring>
    using namespace std;
    char n[10];
    short top=-1;
    int main(){
        while(1){
            n[++top]=getchar();
            if(n[top]<'0'){
                --top;
                break;
            }
        }
        if(n[0]=='-'){
            putchar('n');
            putchar('o');
        }else if(top>1){
            putchar('y');
            putchar('e');
            putchar('s');
        }else if(top==0){
            putchar('n');
            putchar('o');
        }else if(n[0]>=1){
            putchar('y');
            putchar('e');
            putchar('s');
        }else{
            putchar('n');
            putchar('o');
        }
    }
    

    和你的比哪个快

    2026-03-12 来自 浙江

    0
  • 确实快

    2026-01-24 来自 四川

    0
暂无数据

提交答案之后,这里将显示提交结果~

首页