/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:15:17: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  dfs(u-1,x-(1<<u-1),y+(1<<u-1));
                ~^~
/in/foo.cc:15:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  dfs(u-1,x-(1<<u-1),y+(1<<u-1));
                           ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:22:22: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
   for(int j=1;j<=1<<n+1;j++)
                     ~^~
/in/foo.cc:26:22: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
   for(int j=1;j<=1<<n+1;j++){
                     ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Accepted 1ms 352.0 KiB
#4 Accepted 5ms 856.0 KiB
#5 Accepted 1ms 356.0 KiB

信息

递交者
类型
递交
题目
P1167 南蛮图腾
语言
C++
递交时间
2020-10-27 23:19:17
评测时间
2020-10-27 23:19:17
评测机
分数
100
总耗时
11ms
峰值内存
856.0 KiB