马翌硕


私信TA

用户名:370807742

访问量:4141

签 名:

等  级
排  名 2557
经  验 2160
参赛次数 12
文章发表 11
年  龄 8
在职情况 学生
学  校
专  业 软件工程

  自我简介:

TA的其他文章

 

0.0分

6 人评分

看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:

编程语言转换万能编程问答  

代码解释器

代码纠错

SQL生成与解释

  评论区

#include<stdio.h>
int main()
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("c:%d\n s:%d",2*(a+b),a*b);
    return 0;
我是哪里错了
}
2024-03-17 17:41:17
int a,b,c,s;
	scanf("%d%d",&a,&b);
	c=2*a+2*b;
	s=a*b;
	printf("c:%d\ns:%d",c,s);
	return 0;
哪里错了
2024-03-03 12:44:02
#include<stdio.h>
int main()
{
    int x,y,c,s;
    scanf("%d%d",&x,&y);
    c=2*(x+y);
    s=x*y;
    printf("c:%d/n",c);
    printf("s:%d/n",s);
    return 0;
}
哪里错了?
2023-11-15 16:35:21
为什么把2*(a+b)换成2a+2b就是错的?
2023-07-13 03:12:23
#include<stdio.h>
int main()
{
    int a,b,C=0,S=0;
    scanf("%d%d",&a,&b);
    printf("C:%dS:%d",C=2*a+2*b,S=a*b);
    return 0;
}
不明白错哪里了。
2023-05-04 12:05:28
#include<stdio.h>
int main()
{
	int a,b,c=0,d=0;
	scanf("%d %d",&a,&b);
	c=2*a+2*b;
	d=a*b;
	printf("c:%d\n",c);
	printf("d:%d\n",d);
	return 0;
}
哪错了
2023-04-08 21:01:47
#include <stdio.h>
int main()
{
	int A, B, C, S;
	scanf("%d%d", &A, &B);
	C = 2 * (A + B);
	S = A * B;
	printf("C:%d\nS:%d", C, S);
	return 0;
}
2022-11-25 19:31:45
  • «
  • 1
  • »