记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:2: error: 'c' undeclared (first use in this function)
  c = a * b;
  ^
/in/foo.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:10:2: error: 'd' undeclared (first use in this function)
  d=c%2;
  ^
/in/foo.c:12:19: error: stray '\357' in program
   printf("Even\n");
                   ^
/in/foo.c:12:20: error: stray '\274' in program
   printf("Even\n");
                    ^
/in/foo.c:12:21: error: stray '\233' in program
   printf("Even\n");
                     ^
/in/foo.c:13:2: error: expected ';' before 'else'
  else
  ^~~~
/in/foo.c:15:2: error: 'retuen' undeclared (first use in this function)
  retuen 0;
  ^~~~~~
/in/foo.c:15:9: error: expected ';' before numeric constant
  retuen 0;
         ^

信息

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