求助
2025-11-15 21:38:09
发布于:江西
有哪位大佬可以教教我吗?我是小白。
全部评论 15
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a;//输入 if(a>=10)cout<<"yes";//判断是否大于10,如果是,输出yes else cout<<"no";//否则输出no return 0; }2026-01-20 来自 浙江
1#include<iostream>
using namespace std;
int main(){
long long n;
cin >> n;
if (n >= 10){
cout << "yes";
} else {
cout << "no";
}
return 0;
}2025-12-24 来自 北京
1好了,现在是27阅读了
2025-11-28 来自 北京
1#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'); } }1周前 来自 浙江
0[链接描述](![[:龇牙笑]](https://attach.acgo.cn/picture/a66803bc82da40a5ae203454f40a8054.jpg))2026-02-13 来自 青海
02026-02-13 来自 青海
0a=int(input()) if a<10: print('no') else: print('yes')2026-02-07 来自 江西
0发在讨论里
2026-02-06 来自 河南
0我是老白
2026-02-04 来自 上海
0#include <iostream>
using namespace std;int main(){
int n;
cin>>n;
if(n>=10){
cout<<"yes";
}else{
cout<<"no";
}
return 0;
}2026-02-04 来自 陕西
0n=int(input())
if n>=10:
print('yes')
else:
print('no')2026-01-20 来自 湖北
0#include <iostream>
using namespace std;int main(){
int n;
cin>>n;
if(n>=10){
cout<<"yes";
}else{
cout<<"no";
}
return 0;
}2026-01-10 来自 北京
0#include<iostream>
using namespace std;
int main(){
int a;
cin>>a;
if(a>=10){
cout<<"yes";
}else{
cout<<"no";
}
return 0;
}2025-12-26 来自 天津
0我这个评论竟然有20个人阅读,笑死了。
2025-11-23 来自 江西
0哦,sorry,一不小心又做对了。用Python做对的。
2025-11-15 来自 江西
0






























有帮助,赞一个