记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:14: warning: NULL used in arithmetic [-Wpointer-arith]
  while(a[i]!=NULL || b[k]!=NULL)
              ^~~~
/in/foo.cc:14:28: warning: NULL used in arithmetic [-Wpointer-arith]
  while(a[i]!=NULL || b[k]!=NULL)
                            ^~~~
/in/foo.cc:29:11: warning: NULL used in arithmetic [-Wpointer-arith]
  if(a[i]==NULL)
           ^~~~
/in/foo.cc:31:15: warning: NULL used in arithmetic [-Wpointer-arith]
   while(b[k]!=NULL)
               ^~~~
/in/foo.cc:38:11: warning: NULL used in arithmetic [-Wpointer-arith]
  if(b[k]==NULL)
           ^~~~
/in/foo.cc:40:15: warning: NULL used in arithmetic [-Wpointer-arith]
   while(a[i]!=NULL)
               ^~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 200.0 KiB

信息

递交者
类型
自测
题目
xxyw1-1数组的中位数
语言
C++
递交时间
2019-03-18 17:05:48
评测时间
2019-03-18 17:05:48
评测机
分数
0
总耗时
1ms
峰值内存
200.0 KiB