/ Vijos /

记录详情

Accepted

foo.cc: In function 'void work()':
foo.cc:39:26: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   39 |           s[i][j] = (1<<i-1)|(1<<j-1);
      |                         ~^~
foo.cc:39:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   39 |           s[i][j] = (1<<i-1)|(1<<j-1);
      |                                  ~^~
foo.cc:43:61: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   43 |                if(dcmp(aa,a) && dcmp(bb,b)) s[i][j] |= (1<<k-1);
      |                                                            ~^~
foo.cc:47:50: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   47 |     for (int i = 1; i <= n; i++) s[i][i] |= (1<<i-1);
      |                                                 ~^~
foo.cc:32:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   32 |     scanf("%lf%lf",&x[i],&y[i]);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 1.375 MiB
#2 Accepted 4ms 1.375 MiB
#3 Accepted 3ms 1.375 MiB
#4 Accepted 3ms 1.375 MiB
#5 Accepted 3ms 1.375 MiB
#6 Accepted 5ms 1.375 MiB
#7 Accepted 3ms 1.375 MiB
#8 Accepted 3ms 1.5 MiB
#9 Accepted 3ms 1.375 MiB
#10 Accepted 4ms 1.375 MiB
#11 Accepted 7ms 1.375 MiB
#12 Accepted 8ms 1.5 MiB
#13 Accepted 20ms 1.375 MiB
#14 Accepted 24ms 1.5 MiB
#15 Accepted 65ms 1.375 MiB
#16 Accepted 138ms 1.375 MiB
#17 Accepted 158ms 1.375 MiB
#18 Accepted 520ms 1.375 MiB
#19 Accepted 461ms 1.5 MiB
#20 Accepted 479ms 1.375 MiB

信息

递交者
类型
递交
题目
P2008 愤怒的小鸟
语言
C++
递交时间
2022-07-19 20:54:40
评测时间
2022-07-19 20:54:40
评测机
分数
100
总耗时
1923ms
峰值内存
1.5 MiB