/ Vijos /

记录详情

Accepted

foo.c: In function 'main':
foo.c:7:13: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[9]' [-Wformat=]
    7 |     scanf("%s", &a);
      |            ~^   ~~
      |             |   |
      |             |   char (*)[9]
      |             char *
foo.c:8:13: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[9]' [-Wformat=]
    8 |     scanf("%s", &b);
      |            ~^   ~~
      |             |   |
      |             |   char (*)[9]
      |             char *
foo.c:7:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |     scanf("%s", &a);
      |     ^~~~~~~~~~~~~~~
foo.c:8:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |     scanf("%s", &b);
      |     ^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1132 求二叉树的先序序列
语言
C
递交时间
2022-03-18 20:07:51
评测时间
2022-03-18 20:07:51
评测机
分数
50
总耗时
8ms
峰值内存
384.0 KiB