记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:7:23: warning: statement with no effect [-Wunused-value]
    for (i = 0; i++; i <= n)
                     ~~^~~~
/in/foo.c:10:14: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
      k = k + pow(10, i) * n;
              ^~~
/in/foo.c:10:14: warning: incompatible implicit declaration of built-in function 'pow'
/in/foo.c:10:14: note: include '<math.h>' or provide a declaration of 'pow'
/in/foo.c:14:5: warning: 'Sn' is used uninitialized in this function [-Wuninitialized]
     printf("%d", Sn);
     ^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 200.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2024-11-22 17:14:43
评测时间
2024-11-22 17:14:43
评测机
分数
0
总耗时
1ms
峰值内存
200.0 KiB