冲冲!! 提交的代码
提交时间:2022年6月26日 19:56 语言:C运行时间:0ms占用内存:0K
运行状态: Compilation Error
Main.c:2:7: error: expected declaration specifiers or ‘...’ before string constant
 scanf("%d %d",&a,&b);
       ^
Main.c:2:15: error: expected declaration specifiers or ‘...’ before ‘&’ token
 scanf("%d %d",&a,&b);
               ^
Main.c:2:18: error: expected declaration specifiers or ‘...’ before ‘&’ token
 scanf("%d %d",&a,&b);
                  ^
Main.c:3:8: error: expected declaration specifiers or ‘...’ before string constant
 printf("%d",a+b);
        ^
Main.c:3:13: error: ex 
题目:A+B问题1000

大会员可查看代码,点此开通大会员

                
                    int a,b;
scanf("%d %d",&a,&b);
printf("%d",a+b);