/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:20: error: 'x' undeclared (first use in this function)
     scanf("%d %d",&x, &y);
                    ^
/in/foo.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:24: error: 'y' undeclared (first use in this function)
     scanf("%d %d",&x, &y);
                        ^
/in/foo.c:7:9: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
  printf(z);
         ^
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:364:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C
递交时间
2019-03-28 18:26:16
评测时间
2019-03-28 18:26:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes