谁能帮我

P1001 A+B Problem

蒟蒻JJA༙ @ 2021-03-28 10:59:19

编译错误了,但是我看不懂

include<cstdio>

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


by 蒟蒻JJA༙ @ 2021-03-28 11:00:32

为什么,我是按照mardown排版的啊


by 零殇 @ 2021-03-28 11:00:44

printf时不要加&


by rui_er @ 2021-03-28 11:02:14

printf 不要加 &,直接 printf("%d", a+b);


by 零殇 @ 2021-03-28 11:02:55

@谁家の小谁

被当成标题行放大了。。。


by wmy_goes_to_thu @ 2021-03-28 11:03:22

@谁家の小谁 仔细学习md好吗


by 蒟蒻JJA༙ @ 2021-03-28 11:05:54

@零殇 @rui_er 谢谢你们,现在对了


by Apple_Pie @ 2021-03-28 11:06:00

@expwmh 我是傻逼/kk


|