摘要: #include <iostream> using namespace std; int main() { int x,y; cin>>x>>y; if(x>=-1&&x<=1&&y>=-1&&y<=1) cout<<"yes"; else cout<<"no"; return 0; } 阅读全文
posted @ 2022-07-05 20:59 明睿小学李君道 阅读(286) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { double f; cin>>f; printf("%.3f",f); return 0; } 最近有事,好久没更新了。 阅读全文
posted @ 2022-06-27 22:34 明睿小学李君道 阅读(161) 评论(0) 推荐(0)
摘要: #include <iostream> #include <cstdio> using namespace std; int main() { double a; scanf("%lf",&a); printf("%lf\n%.5lf\n%e\n%g",a,a,a,a); return 0; } 阅读全文
posted @ 2022-05-24 19:13 明睿小学李君道 阅读(212) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { cout<<"Hello,World!"<<endl; } 阅读全文
posted @ 2022-05-22 21:25 明睿小学李君道 阅读(78) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int a,b; cin>>a>>b; cout<<a+b; return 0; } 阅读全文
posted @ 2022-05-22 20:06 明睿小学李君道 阅读(370) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int x=0; cin>>x; cout<<x<<" "<<x*10; return 0; } 阅读全文
posted @ 2022-05-13 19:03 明睿小学李君道 阅读(106) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { long long a; cin>>a; if(a%2==0&&a>0) cout<<"yes"; return 0; } 阅读全文
posted @ 2022-05-13 10:36 明睿小学李君道 阅读(285) 评论(0) 推荐(0)
摘要: include <iostream> using namespace std; int main() { cout<<"Hello World!"<<endl; return 0; } 阅读全文
posted @ 2022-05-12 14:24 明睿小学李君道 阅读(75) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int a,b,c,d,e; scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); a=a/3;b=b+a;e=e+a; b=b/3;c=c+a;a=a+b; c=c/3;d 阅读全文
posted @ 2022-05-12 13:27 明睿小学李君道 阅读(1245) 评论(0) 推荐(0)