求解长方形面积 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2022年04月25日 0 点赞 0 评论 533 浏览 评分:0.0
求长方形面积 摘要:解题思路:首先,我们都知道长方形的周长和面积,周长:(a+b)*2,面积:a*b。注意事项:c:和S:要双引号参考代码:#include<iostream>using namespace std;in…… 题解列表 2022年04月27日 0 点赞 1 评论 1113 浏览 评分:8.7
1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){ cin>>a>>b; cout<…… 题解列表 2022年05月05日 0 点赞 0 评论 451 浏览 评分:0.0
又是输出格式的问题 摘要:解题思路:注意事项:答案之间不能有空格,不能直接用逗号参考代码:a,b=map(int,input().strip().split())c=(a+b)*2s=a*bprint("C:%d"%c)pri…… 题解列表 2022年05月13日 0 点赞 0 评论 1144 浏览 评分:9.9
1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long a…… 题解列表 2022年05月20日 0 点赞 0 评论 443 浏览 评分:0.0
编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,s; scanf("%d%d",&a,&b); c = a*2 + b*2; s =…… 题解列表 2022年05月24日 0 点赞 0 评论 565 浏览 评分:0.0
简单输出易懂长方形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b; int C; int S; scanf("%d %d", &a,&b); C = 2 * …… 题解列表 2022年06月22日 0 点赞 0 评论 495 浏览 评分:0.0
1952——————求长方形的面积 a,b=map(int,input().split())print('C:{}'.format(a*2+b*2))print('S:{}'.format(a*b))#凑字数凑字数凑字数凑字数凑字数凑字数凑字数 题解列表 2022年07月08日 0 点赞 0 评论 809 浏览 评分:0.0
求长方形面积(C语言) 摘要: #include int main() { int a,b; scanf("%d %d",&a,&b); printf…… 题解列表 2022年07月13日 0 点赞 0 评论 654 浏览 评分:0.0
编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); …… 题解列表 2022年07月28日 0 点赞 0 评论 444 浏览 评分:0.0