Runtime Error

foo.cc: In function 'int search(int)':
foo.cc:45:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&n,&c);//输入
     ~~~~~^~~~~~~~~~~~~~
foo.cc:15:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d",&x,&y);
         ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 2, expect 4. 2ms 384.0 KiB
#3 Time Exceeded ≥1418ms ≥340.0 KiB
#4 Time Exceeded ≥1415ms ≥384.0 KiB
#5 Runtime Error Segmentation fault 1ms 388.0 KiB
#6 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1568 部落卫队
语言
C++
递交时间
2021-04-16 15:44:27
评测时间
2021-04-16 15:44:27
评测机
分数
15
总耗时
2842ms
峰值内存
388.0 KiB