记录详情

Compile Error

foo.c: In function 'main':
foo.c:6:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 |         scanf("%d|",&a)
      |         ^~~~~
foo.c:6:22: error: 'a' undeclared (first use in this function)
    6 |         scanf("%d|",&a)
      |                      ^
foo.c:6:22: note: each undeclared identifier is reported only once for each function it appears in
foo.c:6:24: error: expected ';' before 'printf'
    6 |         scanf("%d|",&a)
      |                        ^
      |                        ;
    7 |     printf("%dEnjoy yourself.",a);
      |     ~~~~~~              
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1288 A. Down the Rabbit-Hole
语言
C
递交时间
2023-08-07 20:36:28
评测时间
2023-08-07 20:36:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes