记录详情

Accepted

foo.c: In function ‘main’:
foo.c:18:27: warning: implicit declaration of function ‘pow’ [-Wimplicit-function-declaration]
   18 |                 b+=change*pow(10,count-number);
      |                           ^~~
foo.c:2:1: note: include ‘<math.h>’ or provide a declaration of ‘pow’
    1 | #include <stdio.h>
  +++ |+#include <math.h>
    2 | 
foo.c:18:27: warning: incompatible implicit declaration of built-in function ‘pow’ [-Wbuiltin-declaration-mismatch]
   18 |                 b+=change*pow(10,count-number);
      |                           ^~~
foo.c:18:27: note: include ‘<math.h>’ or provide a declaration of ‘pow’
# 状态 耗时 内存占用
#1 Accepted 1ms 288.0 KiB
#2 Accepted 1ms 648.0 KiB
#3 Accepted 1ms 516.0 KiB
#4 Accepted 1ms 516.0 KiB
#5 Accepted 1ms 556.0 KiB

信息

递交者
类型
递交
题目
A4-2 回文数专题:反数
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-17 16:00:27
评测时间
2024-08-17 16:00:27
评测机
分数
100
总耗时
7ms
峰值内存
648.0 KiB