记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:22:15: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
    x1 = (-b + sqrt(d)) / (2 * a);
               ^~~~
/in/foo.c:22:15: warning: incompatible implicit declaration of built-in function 'sqrt'
/in/foo.c:22:15: note: include '<math.h>' or provide a declaration of 'sqrt'
/in/foo.c:30:8: warning: incompatible implicit declaration of built-in function 'sqrt'
    i = sqrt(-d) / (2 * a);
        ^~~~
/in/foo.c:30:8: note: include '<math.h>' or provide a declaration of 'sqrt'
# 状态 耗时 内存占用
#1 Accepted 1ms 228.0 KiB
#2 Accepted 1ms 252.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 1ms 200.0 KiB
#5 Accepted 1ms 204.0 KiB
#6 Accepted 0ms 224.0 KiB

信息

递交者
类型
递交
比赛
2024级15点半
语言
C
递交时间
2024-12-24 15:44:24
评测时间
2024-12-24 15:44:24
评测机
分数
100
总耗时
6ms
峰值内存
252.0 KiB