- C++
为什么这段代码无法AC A+B
- 2024-12-24 20:45:29 @
#include<cstdio>
int main(){
int a,b;
scanf("%d,%d",&a,&b);
printf("%d",a+b);
return 0;
}
1 条评论
-
XLFChhh LV 1 @ 2024-12-24 22:38:01
#include<cstdio> int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d",a+b); return 0; }
%d%d 不是 %d,%d
👍 2
- 1