Runtime Error

foo.cc: In function 'int main()':
foo.cc:115:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   mid=l+r>>1;
       ~^~
In file included from /usr/include/string.h:494:0,
                 from /usr/include/c++/7/cstring:42,
                 from foo.cc:3:
In function 'void* memcpy(void*, const void*, size_t)',
    inlined from 'void fun(int*, int, int, int)' at foo.cc:26:8,
    inlined from 'bool check(int)' at foo.cc:79:5,
    inlined from 'int main()' at foo.cc:116:11:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:71: warning: 'void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)' writing 24 bytes into a region of size 12 overflows the destination [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
                                                                       ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Runtime Error Aborted 2ms 348.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Runtime Error Aborted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Runtime Error Aborted 1ms 384.0 KiB
#7 Runtime Error Aborted 2ms 384.0 KiB
#8 Runtime Error Aborted 1ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Runtime Error Aborted 2ms 384.0 KiB
#11 Runtime Error Aborted 2ms 384.0 KiB
#12 Runtime Error Aborted 2ms 384.0 KiB
#13 Runtime Error Aborted 2ms 384.0 KiB
#14 Runtime Error Aborted 2ms 384.0 KiB
#15 Runtime Error Aborted 1ms 384.0 KiB
#16 Runtime Error Aborted 2ms 384.0 KiB
#17 Runtime Error Aborted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
「一本通 4.4 练习 4」跳跳棋
语言
C++
递交时间
2021-04-27 17:50:15
评测时间
2021-04-27 17:50:15
评测机
分数
20
总耗时
35ms
峰值内存
384.0 KiB