记录详情

Compile Error

foo.c: In function 'DecimalToBinary':
foo.c:14:9: warning: statement with no effect [-Wunused-value]
   14 |        i*10;
      |        ~^~~
foo.c: In function 'main':
foo.c:24:13: warning: missing terminating " character
   24 |      printf("%d,num);
      |             ^
foo.c:24:13: error: missing terminating " character
   24 |      printf("%d,num);
      |             ^~~~~~~~~
foo.c:25:6: error: expected expression before 'return'
   25 |      return 0;
      |      ^~~~~~
foo.c:25:15: error: expected ';' before '}' token
   25 |      return 0;
      |               ^
      |               ;
   26 | }
      | ~              
foo.c:22:10: warning: variable 'num' set but not used [-Wunused-but-set-variable]
   22 |      int num;
      |          ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1080 xf1-3进制转换1
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 17:07:20
评测时间
2022-08-27 17:07:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes