记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:11:17: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
         scanf("%s", a[b[j]]);
                 ^
/in/foo.c:14:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
         printf("%s\n", a[j]);
                  ^
/in/foo.c:5:19: warning: unused variable 'k' [-Wunused-variable]
     int i = 0, j, k;
                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 1.441 MiB
#2 Accepted 1ms 1.445 MiB
#3 Accepted 1ms 1.453 MiB
#4 Accepted 1ms 1.445 MiB
#5 Accepted 1ms 1.453 MiB
#6 Accepted 1ms 1.449 MiB
#7 Accepted 1ms 1.453 MiB
#8 Accepted 1ms 1.445 MiB
#9 Accepted 1ms 1.453 MiB
#10 Accepted 1ms 1.445 MiB

信息

递交者
类型
递交
题目
P1101 婚礼上的小杉
语言
C
递交时间
2020-02-02 19:08:23
评测时间
2020-02-02 19:08:23
评测机
分数
100
总耗时
14ms
峰值内存
1.453 MiB