记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:11:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
   11 |         scanf("%s",a[b[j]]);
      |                ~^  ~~~~~~~
      |                 |        |
      |                 char*    int*
      |                %d
foo.cc:14:18: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
   14 |         printf("%s\n",a[j]);
      |                 ~^    ~~~~
      |                  |       |
      |                  char*   int*
      |                 %n
foo.cc:5:15: warning: unused variable 'k' [-Wunused-variable]
    5 |     int i=0,j,k;
      |               ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 1.625 MiB
#2 Accepted 3ms 1.625 MiB
#3 Accepted 3ms 1.625 MiB
#4 Accepted 5ms 1.625 MiB
#5 Accepted 7ms 1.625 MiB
#6 Accepted 4ms 1.625 MiB
#7 Accepted 5ms 1.625 MiB
#8 Accepted 8ms 1.75 MiB
#9 Accepted 8ms 1.625 MiB
#10 Accepted 10ms 1.617 MiB

信息

递交者
类型
递交
题目
P1101 婚礼上的小杉
语言
C++
递交时间
2022-08-20 10:28:57
评测时间
2022-08-20 10:28:57
评测机
分数
100
总耗时
64ms
峰值内存
1.75 MiB