摘要: 比赛链接 1001:C语言实验题――找中间数 三个判断,如 if(a>=b&&b>=c)那就是b #include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(b>=a && a>=c||c 阅读全文
posted @ 2023-02-28 21:02 CRt0729 阅读(51) 评论(0) 推荐(0)
摘要: 比赛链接 1001 : 鸡尾酒疗法 1 #include<bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int n; 6 cin>>n; 7 double a,b; 8 cin>>a>>b; 9 double c = b/a; 10 阅读全文
posted @ 2023-02-28 15:43 CRt0729 阅读(35) 评论(0) 推荐(0)