Runtime Error

foo.cc: In function ‘int main()’:
foo.cc:36:62: warning: statement has no effect [-Wunused-value]
   36 |                         if(nx>=0&&nx<=100000&&!vis[nx])vis[nx];
      |                                                        ~~~~~~^
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 504.0 KiB
#2 Runtime Error Aborted 2ms 504.0 KiB
#3 Runtime Error Segmentation fault 2ms 504.0 KiB
#4 Accepted 2ms 500.0 KiB
#5 Accepted 2ms 504.0 KiB
#6 Runtime Error Segmentation fault 2ms 504.0 KiB
#7 Accepted 2ms 504.0 KiB
#8 Accepted 2ms 760.0 KiB
#9 Accepted 2ms 504.0 KiB
#10 Runtime Error Segmentation fault 2ms 504.0 KiB
#11 Runtime Error Segmentation fault 2ms 504.0 KiB
#12 Runtime Error Segmentation fault 2ms 504.0 KiB
#13 Accepted 2ms 504.0 KiB

信息

递交者
类型
递交
题目
P1018 抓牛(catchcow)
语言
C++
递交时间
2025-07-22 13:26:05
评测时间
2025-07-22 13:26:05
评测机
分数
42
总耗时
32ms
峰值内存
760.0 KiB