记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:9: error: expected identifier or '(' before numeric constant
    5 |     int 0<=x,y<=32767;
      |         ^
foo.c:6:12: error: 'x' undeclared (first use in this function)
    6 |         0<=x,y<=32767;
      |            ^
foo.c:6:12: note: each undeclared identifier is reported only once for each function it appears in
foo.c:6:14: error: 'y' undeclared (first use in this function)
    6 |         0<=x,y<=32767;
      |              ^
foo.c:6:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    6 |         0<=x,y<=32767;
      |             ^
foo.c:7:22: error: expected ')' before '\U0000ff0c'
    7 |         scanf("%d %d",&x,&y);
      |              ~       ^~
      |                      )
foo.c:7:17: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
    7 |         scanf("%d %d",&x,&y);
      |                ~^
      |                 |
      |                 int *
foo.c:7:20: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
    7 |         scanf("%d %d",&x,&y);
      |                   ~^
      |                    |
      |                    int *
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1015 A+B Problem
语言
C
递交时间
2022-08-19 17:18:15
评测时间
2022-08-19 17:18:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes