/ Vijos /

记录详情

Accepted

foo.cc: In member function 'bool num::check(int)':
foo.cc:41:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   if(val>>w&1!=0)return true;
             ~^~~
foo.cc: In member function 'bool num::change(int)':
foo.cc:46:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
foo.cc: In member function 'int num::get()':
foo.cc:51:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 424.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 424.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 99ms 408.0 KiB
#8 Accepted 2ms 356.0 KiB
#9 Accepted 53ms 440.0 KiB
#10 Accepted 2ms 452.0 KiB

信息

递交者
类型
递交
题目
P1840 木棒游戏
语言
C++
递交时间
2021-07-21 09:26:21
评测时间
2021-07-21 09:26:21
评测机
分数
100
总耗时
173ms
峰值内存
452.0 KiB