/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
  int y
  ^~~
/in/foo.c:7:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scnaf'
  scnaf("%d %d" &x,&y)
  ^~~~~
/in/foo.c:7:2: warning: implicit declaration of function 'scnaf' [-Wimplicit-function-declaration]
/in/foo.c:7:17: error: 'x' undeclared (first use in this function)
  scnaf("%d %d" &x,&y)
                 ^
/in/foo.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:7:20: error: 'y' undeclared (first use in this function)
  scnaf("%d %d" &x,&y)
                    ^
/in/foo.c:8:2: error: expected ';' before 'int'
  int sum=x+y
  ^~~

信息

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