/ Vijos /

记录详情

Accepted

foo.cpp: In function 'void work()':
foo.cpp:39:26: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
           s[i][j] = (1<<i-1)|(1<<j-1);
                         ~^~
foo.cpp:39:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
           s[i][j] = (1<<i-1)|(1<<j-1);
                                  ~^~
foo.cpp:43:61: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                if(dcmp(aa,a) && dcmp(bb,b)) s[i][j] |= (1<<k-1);
                                                            ~^~
foo.cpp:47:50: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
     for (int i = 1; i <= n; i++) s[i][i] |= (1<<i-1);
                                                 ~^~
# 状态 耗时 内存占用
#1 Accepted 0ms 1.969 MiB
#2 Accepted 0ms 1.965 MiB
#3 Accepted 0ms 1.973 MiB
#4 Accepted 0ms 1.969 MiB
#5 Accepted 0ms 1.969 MiB
#6 Accepted 0ms 1.969 MiB
#7 Accepted 15ms 1.969 MiB
#8 Accepted 0ms 1.973 MiB
#9 Accepted 0ms 1.965 MiB
#10 Accepted 0ms 1.969 MiB
#11 Accepted 15ms 1.973 MiB
#12 Accepted 15ms 1.969 MiB
#13 Accepted 31ms 1.969 MiB
#14 Accepted 15ms 1.977 MiB
#15 Accepted 62ms 1.973 MiB
#16 Accepted 109ms 1.969 MiB
#17 Accepted 125ms 1.973 MiB
#18 Accepted 484ms 1.977 MiB
#19 Accepted 468ms 1.965 MiB
#20 Accepted 453ms 1.977 MiB

信息

递交者
类型
递交
题目
P2008 愤怒的小鸟
语言
C++
递交时间
2017-02-26 16:33:57
评测时间
2017-02-26 16:33:57
评测机
分数
100
总耗时
1792ms
峰值内存
1.977 MiB