记录详情

Compile Error

foo.c: In function 'main':
foo.c:9:15: error: 'x' undeclared (first use in this function)
    9 |   printf("%d",x);
      |               ^
foo.c:9:15: note: each undeclared identifier is reported only once for each function it appears in
foo.c:4:6: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    4 |  int a,n;
      |      ^
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A4-2 回文数专题:反数
语言
C
递交时间
2022-05-31 12:05:04
评测时间
2022-05-31 12:05:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes