Compile Error
/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d",a);
          ^
/in/foo.c:7:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d",b);
          ^
/in/foo.c:8:2: error: 'sum' undeclared (first use in this function)
  sum=a+b;
  ^~~
/in/foo.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
  信息
- 递交者
 - 类型
 - 递交
 - 语言
 - C
 - 递交时间
 - 2024-10-26 09:23:59
 - 评测时间
 - 2024-10-26 09:23:59
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes