/ Vijos /

记录详情

Accepted

foo.cpp: In function 'int main()':
foo.cpp:12:33: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[15]' [-Wformat=]
         scanf("%d%s",&x,&name[i]);
                                 ^
# 状态 耗时 内存占用
#1 Accepted 15ms 2.781 MiB
#2 Accepted 0ms 2.781 MiB
#3 Accepted 0ms 2.785 MiB
#4 Accepted 0ms 2.777 MiB
#5 Accepted 15ms 2.777 MiB
#6 Accepted 0ms 2.777 MiB
#7 Accepted 0ms 2.785 MiB
#8 Accepted 0ms 2.777 MiB
#9 Accepted 0ms 2.785 MiB
#10 Accepted 0ms 2.785 MiB
#11 Accepted 15ms 2.777 MiB
#12 Accepted 0ms 2.777 MiB
#13 Accepted 0ms 2.777 MiB
#14 Accepted 15ms 2.777 MiB
#15 Accepted 0ms 2.781 MiB
#16 Accepted 0ms 2.777 MiB
#17 Accepted 625ms 2.777 MiB
#18 Accepted 609ms 2.777 MiB
#19 Accepted 671ms 2.777 MiB
#20 Accepted 640ms 2.777 MiB

信息

递交者
类型
递交
题目
P2003 玩具谜题
语言
C++
递交时间
2017-03-14 09:09:05
评测时间
2017-03-14 09:09:05
评测机
分数
100
总耗时
2605ms
峰值内存
2.785 MiB