/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:58: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[20]' [-Wformat=]
   scanf("%d %s\n", &(persons[i].face), &(persons[i].name));
                                                          ^
/in/foo.cc:20:6: warning: unused variable 'direction' [-Wunused-variable]
  int direction = 0; //0-counter-clockwise(+1), 1--clockwise(-1)
      ^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 3ms 356.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 3ms 336.0 KiB
#7 Accepted 3ms 324.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 3ms 340.0 KiB
#10 Accepted 3ms 340.0 KiB
#11 Accepted 3ms 336.0 KiB
#12 Accepted 3ms 384.0 KiB
#13 Accepted 3ms 256.0 KiB
#14 Accepted 3ms 340.0 KiB
#15 Accepted 3ms 336.0 KiB
#16 Accepted 3ms 384.0 KiB
#17 Accepted 46ms 2.59 MiB
#18 Accepted 38ms 2.5 MiB
#19 Accepted 39ms 2.602 MiB
#20 Accepted 40ms 2.605 MiB

信息

递交者
类型
递交
题目
P2003 玩具谜题
语言
C++
递交时间
2017-09-08 09:33:54
评测时间
2017-09-08 09:33:54
评测机
分数
100
总耗时
219ms
峰值内存
2.605 MiB