/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:21: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  memset(you,0,sizeof(you));
                     ^
/in/foo.cc:10:6: warning: unused variable 'count' [-Wunused-variable]
  int count = 0,num;
      ^~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 344.0 KiB
#2 Accepted 3ms 352.0 KiB
#3 Accepted 2ms 352.0 KiB
#4 Accepted 3ms 356.0 KiB
#5 Accepted 2ms 380.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 4ms 384.0 KiB
#8 Accepted 4ms 384.0 KiB
#9 Accepted 11ms 360.0 KiB
#10 Accepted 112ms 372.0 KiB
#11 Accepted 210ms 348.0 KiB

信息

递交者
类型
递交
题目
P1691 输油管道问题
语言
C++
递交时间
2018-05-26 17:06:53
评测时间
2018-05-26 17:06:53
评测机
分数
110
总耗时
362ms
峰值内存
384.0 KiB