记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'double *' [-Wformat=]
  scanf("%ld %ld",&a,&b);
           ^
/in/foo.c:7:15: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'double *' [-Wformat=]
  scanf("%ld %ld",&a,&b);
               ^
/in/foo.c:7:24: error: stray '\357' in program
  scanf("%ld %ld",&a,&b);
                        ^
/in/foo.c:7:25: error: stray '\274' in program
  scanf("%ld %ld",&a,&b);
                         ^
/in/foo.c:7:26: error: stray '\233' in program
  scanf("%ld %ld",&a,&b);
                          ^
/in/foo.c:8:3: error: expected ';' before 'printf'
   printf("%d",a+b);
   ^~~~~~

信息

递交者
类型
递交
题目
欢迎来到南师大计算机学院OnlineJudge!
语言
C
递交时间
2018-12-31 11:15:15
评测时间
2018-12-31 11:15:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes