记录详情

Wrong Answer

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

信息

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