/ XMU_ACM /

记录详情

Accepted

/in/foo.cc: In function 'void print(int, int, int)':
/in/foo.cc:11:17: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  print(x,y+(1<<n-1),n-1);
                ~^~
/in/foo.cc:12:15: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  print(x+(1<<n-1),y,n-1);
              ~^~
/in/foo.cc:13:15: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  print(x+(1<<n-1),y+(1<<n),n-1);
              ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:9: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
   c=1<<n+1;
        ~^~
# 状态 耗时 内存占用
#1 Accepted 4ms 368.0 KiB
#2 Accepted 3ms 512.0 KiB
#3 Accepted 4ms 2.492 MiB
#4 Accepted 18ms 2.625 MiB
#5 Accepted 7ms 852.0 KiB
#6 Accepted 37ms 2.867 MiB
#7 Accepted 3ms 368.0 KiB
#8 Accepted 44ms 4.0 MiB
#9 Accepted 61ms 3.66 MiB
#10 Accepted 64ms 3.461 MiB

信息

递交者
类型
递交
题目
lyhlyhlyh的三角形
比赛
清明测试!
语言
C++
递交时间
2018-04-05 21:08:30
评测时间
2018-04-06 16:23:08
评测机
分数
100
总耗时
249ms
峰值内存
4.0 MiB