/ 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 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 92ms 400.0 KiB
#8 Accepted 2ms 380.0 KiB
#9 Accepted 48ms 444.0 KiB
#10 Accepted 2ms 420.0 KiB

信息

递交者
类型
递交
题目
P1840 木棒游戏
语言
C++
递交时间
2021-07-18 19:40:43
评测时间
2021-07-18 19:40:43
评测机
分数
100
总耗时
158ms
峰值内存
444.0 KiB