/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int, LL)':
foo.cc:19:45: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
 else for(int i=1;i<=26;i++) dfs(dep+1,(s<<5)+s^i);
                                       ~~~~~~^~
foo.cc: In function 'int main()':
foo.cc:29:36: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
 cin >> n >> k >> m;inv=pow(33,(1<<m-1)-1,(1<<m)-1);
                                   ~^~
foo.cc:30:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 m=(1<<m)-1;maxd=n+1>>1;mind=n>>1;dfs(0,0);dfs2(0,k);
                 ~^~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 512.0 KiB
#6 Accepted 4ms 472.0 KiB
#7 Accepted 20ms 3.449 MiB
#8 Accepted 230ms 3.516 MiB
#9 Accepted 528ms 53.285 MiB
#10 Accepted 628ms 79.934 MiB

信息

递交者
类型
递交
题目
P1884 诗情
语言
C++
递交时间
2021-11-11 12:05:56
评测时间
2021-11-11 12:05:56
评测机
分数
100
总耗时
1424ms
峰值内存
79.934 MiB