记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:5: error: 'a' undeclared (first use in this function)
    5 |     a=int(input(""));
      |     ^
foo.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
foo.c:5:7: error: expected expression before 'int'
    5 |     a=int(input(""));
      |       ^~~
foo.c:6:9: error: 'b' undeclared (first use in this function)
    6 |         b=int(input(""));
      |         ^
foo.c:6:11: error: expected expression before 'int'
    6 |         b=int(input(""));
      |           ^~~
foo.c:8:9: error: 'c' undeclared (first use in this function)
    8 |         c = a * b;
      |         ^
foo.c:10:9: error: 'd' undeclared (first use in this function)
   10 |         d=c%2;
      |         ^
foo.c:12:33: error: expected ';' before '\U0000ff1b'
   12 |                 printf("Even\n");
      |                                 ^~
      |                                 ;
foo.c:15:9: error: 'retuen' undeclared (first use in this function)
   15 |         retuen 0;
      |         ^~~~~~
foo.c:15:15: error: expected ';' before numeric constant
   15 |         retuen 0;
      |               ^~
      |               ;
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1491 D. 梅开二度
语言
C
递交时间
2023-09-09 21:05:55
评测时间
2023-09-09 21:05:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes