/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:59:31: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'int*' [-Wformat=]
    scanf("%d%s", q+i, names[i]);
                               ^
/in/foo.cc:71:28: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
   printf("%s\n", names[ind]);
                            ^
# 状态 耗时 内存占用
#1 Accepted 4ms 344.0 KiB
#2 Accepted 3ms 364.0 KiB
#3 Accepted 2ms 348.0 KiB
#4 Accepted 3ms 360.0 KiB
#5 Accepted 2ms 364.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 4ms 2.25 MiB
#8 Accepted 4ms 2.371 MiB
#9 Accepted 2ms 368.0 KiB
#10 Accepted 4ms 340.0 KiB
#11 Accepted 3ms 344.0 KiB
#12 Accepted 2ms 336.0 KiB
#13 Accepted 4ms 380.0 KiB
#14 Accepted 2ms 256.0 KiB
#15 Accepted 2ms 360.0 KiB
#16 Accepted 4ms 348.0 KiB
#17 Accepted 98ms 9.875 MiB
#18 Accepted 78ms 9.25 MiB
#19 Accepted 95ms 9.625 MiB
#20 Accepted 68ms 9.25 MiB

信息

递交者
类型
递交
题目
P2003 玩具谜题
语言
C++
递交时间
2018-09-16 00:42:34
评测时间
2018-09-16 00:42:34
评测机
分数
100
总耗时
397ms
峰值内存
9.875 MiB