/ 科创班 /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:8: error: stray '\342' in program
 printf(“%d,"sum);
        ^
/in/foo.c:8:9: error: stray '\200' in program
 printf(“%d,"sum);
         ^
/in/foo.c:8:10: error: stray '\234' in program
 printf(“%d,"sum);
          ^
/in/foo.c:8:11: error: expected expression before '%' token
 printf(“%d,"sum);
           ^
/in/foo.c:8:14: warning: missing terminating " character
 printf(“%d,"sum);
              ^
/in/foo.c:8:14: error: missing terminating " character
 printf(“%d,"sum);
              ^~~~~~
/in/foo.c:9:1: error: expected ';' before '}' token
 }
 ^
/in/foo.c:4:9: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
 int x,y,sum;
         ^~~

代码

#include<stdio.h>
int main ()
{
int x,y,sum;
x=123;
y=500;
sum=x+y;
printf(“%d,"sum);
}

信息

递交者
类型
递交
题目
x+y
题目数据
下载
语言
C
递交时间
2018-06-19 22:58:33
评测时间
2018-06-19 22:58:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes