/ Vijos /

记录详情

Compile Error

foo.c: In function 'main':
foo.c:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 | scanf("%d,%d",&a,&b);
      | ^~~~~
foo.c:7:23: error: 'a\U0000ff0bb' undeclared (first use in this function)
    7 |         printf("%d\n",a+b);
      |                       ^~~~
foo.c:7:23: note: each undeclared identifier is reported only once for each function it appears in
foo.c:5:9: warning: unused variable 'a' [-Wunused-variable]
    5 |     int a,b
      |         ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C
递交时间
2023-11-23 20:59:16
评测时间
2023-11-23 20:59:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes