Runtime Error

foo.cc: In function 'bool ys(long long int)':
foo.cc:13:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   13 |          if(js=os)cout<<"Same"<<endl;
      |             ~~^~~
foo.cc:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
   16 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 15ms 384.0 KiB
#2 Runtime Error Segmentation fault 3ms 384.0 KiB
#3 Runtime Error Segmentation fault 10ms 384.0 KiB
#4 Runtime Error Segmentation fault 3ms 384.0 KiB
#5 Runtime Error Segmentation fault 10ms 384.0 KiB
#6 Time Exceeded ≥1100ms ≥256.0 KiB
#7 Time Exceeded ≥1100ms ≥256.0 KiB
#8 Time Exceeded ≥1101ms ≥256.0 KiB
#9 Time Exceeded ≥1100ms ≥256.0 KiB
#10 Time Exceeded ≥1101ms ≥256.0 KiB

信息

递交者
类型
递交
题目
P2246 B 约数(Easy)
语言
C++
递交时间
2022-08-21 20:10:58
评测时间
2022-08-21 20:10:58
评测机
分数
0
总耗时
5547ms
峰值内存
384.0 KiB