/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:13: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
     scanf("%d %d,&x,&y");
             ^
/in/foo.c:5:16: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
     scanf("%d %d,&x,&y");
                ^
/in/foo.c:6:14: error: 'x' undeclared (first use in this function)
  printf("%d",x+y);
              ^
/in/foo.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:6:16: error: 'y' undeclared (first use in this function)
  printf("%d",x+y);
                ^

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C
递交时间
2024-11-22 18:54:10
评测时间
2024-11-22 18:54:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes