记录详情

Compile Error

foo.c: In function 'main':
foo.c:7:9: warning: implicit declaration of function 's' [-Wimplicit-function-declaration]
    7 |   scanf-s("%d",&x);
      |         ^
foo.c:7:8: warning: value computed is not used [-Wunused-value]
    7 |   scanf-s("%d",&x);
      |   ~~~~~^~~~~~~~~~~
foo.c:9:3: warning: statement with no effect [-Wunused-value]
    9 |   for(mask;mask>>=1)
      |   ^~~
foo.c:9:20: error: expected ';' before ')' token
    9 |   for(mask;mask>>=1)
      |                    ^
      |                    ;
foo.c:13:3: error: 'printf\U0000ff08' undeclared (first use in this function); did you mean 'printf'?
   13 |   printf("\n");
      |   ^~~~~~~~
      |   printf
foo.c:13:3: note: each undeclared identifier is reported only once for each function it appears in
foo.c:13:11: error: expected ';' before string constant
   13 |   printf("\n");
      |           ^~~~
      |           ;
foo.c:13:15: error: expected statement before ')' token
   13 |   printf("\n");
      |               ^
[Hydro](https://hydro.ac)提供评测服务

信息

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