Compile Error

foo.c:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
foo.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main()
 ^~~~
foo.c: In function 'main':
foo.c:11:20: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
     x=(long)((n-d)*pow(10,8)+0.5);
                    ^~~
foo.c:11:20: warning: incompatible implicit declaration of built-in function 'pow'
foo.c:11:20: note: include '<math.h>' or provide a declaration of 'pow'
foo.c:21:5: warning: implicit declaration of function 'getch'; did you mean 'getc'? [-Wimplicit-function-declaration]
     getch();
     ^~~~~
     getc
foo.c:9:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lf",&n);
     ^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1132 分数转换
语言
C
递交时间
2021-10-24 17:42:37
评测时间
2021-10-24 17:42:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes