/ Vijos /

记录详情

Accepted

foo.cc: In function 'int count1(int)':
foo.cc:19:66: warning: no return statement in function returning non-void [-Wreturn-type]
   19 | inline int count1(int n){int count=0;while(n!=0){n&=n-1;count++;}}
      |                                                                  ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 540.0 KiB
#3 Accepted 4ms 796.0 KiB
#4 Accepted 5ms 924.0 KiB
#5 Accepted 5ms 1.152 MiB
#6 Accepted 4ms 540.0 KiB
#7 Accepted 4ms 548.0 KiB
#8 Accepted 4ms 540.0 KiB
#9 Accepted 4ms 556.0 KiB
#10 Accepted 4ms 664.0 KiB
#11 Accepted 4ms 540.0 KiB
#12 Accepted 4ms 796.0 KiB
#13 Accepted 4ms 796.0 KiB
#14 Accepted 4ms 844.0 KiB
#15 Accepted 5ms 924.0 KiB
#16 Accepted 4ms 1.023 MiB
#17 Accepted 6ms 1.027 MiB
#18 Accepted 5ms 1.027 MiB
#19 Accepted 5ms 1.07 MiB
#20 Accepted 5ms 1.152 MiB

信息

递交者
类型
递交
题目
P1941 猜谜游戏
语言
C++
递交时间
2023-07-31 15:04:39
评测时间
2023-07-31 16:01:02
评测机
分数
100
总耗时
98ms
峰值内存
1.152 MiB