/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void mul(int*, int&, int)':
/in/foo.cc:43:6: warning: unused variable 'x' [-Wunused-variable]
  int x = 0, len = lena;
      ^
/in/foo.cc: In function 'void div(int*, int&, int)':
/in/foo.cc:97: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(a, 0, sizeof(a));
                     ^
# 状态 耗时 内存占用
#1 Accepted 2ms 1.062 MiB
#2 Accepted 1ms 980.0 KiB
#3 Accepted 1ms 976.0 KiB
#4 Accepted 1ms 976.0 KiB
#5 Accepted 1ms 972.0 KiB
#6 Accepted 1ms 980.0 KiB
#7 Accepted 10ms 1.074 MiB
#8 Accepted 9ms 1.07 MiB
#9 Accepted 10ms 1.047 MiB
#10 Accepted 9ms 1000.0 KiB

信息

递交者
类型
递交
题目
P1779 国王游戏
语言
C++
递交时间
2019-11-05 23:57:47
评测时间
2019-11-05 23:57:47
评测机
分数
100
总耗时
50ms
峰值内存
1.074 MiB