记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:8: warning: missing terminating " character
  scanf("%d%d%d,&a,&b,&c);
        ^
/in/foo.c:8:8: error: missing terminating " character
  scanf("%d%d%d,&a,&b,&c);
        ^~~~~~~~~~~~~~~~~~
/in/foo.c:9:58: error: expected ')' before ';' token
     printf("输入的三个整数为:%d,%d,%d\n",a,b,c);
                                                          ^
/in/foo.c:9:5: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
     printf("输入的三个整数为:%d,%d,%d\n",a,b,c);
     ^~~~~~
In file included from /usr/include/features.h:364:0,
                 from /usr/include/stdio.h:27,
                 from /in/foo.c:1:
/usr/include/stdio.h:448:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
            ^
/in/foo.c:18:1: error: expected ';' before '}' token
 }
 ^
/in/foo.c:6:6: warning: unused variable 't' [-Wunused-variable]
  int t;
      ^

信息

递交者
类型
自测
题目
结构化的程序格式,是编程世界的基石。
语言
C
递交时间
2019-03-24 22:28:48
评测时间
2019-03-24 22:28:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes