/ Vijos /

记录详情

Accepted

foo.cc: In function 'void work()':
foo.cc:39:26: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
           s[i][j] = (1<<i-1)|(1<<j-1);
                         ~^~
foo.cc:39:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
           s[i][j] = (1<<i-1)|(1<<j-1);
                                  ~^~
foo.cc:43:61: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                if(dcmp(aa,a) && dcmp(bb,b)) s[i][j] |= (1<<k-1);
                                                            ~^~
foo.cc:47:50: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
     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]
     scanf("%lf%lf",&x[i],&y[i]);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 1.414 MiB
#2 Accepted 3ms 1.391 MiB
#3 Accepted 3ms 1.398 MiB
#4 Accepted 4ms 1.426 MiB
#5 Accepted 3ms 1.434 MiB
#6 Accepted 4ms 1.398 MiB
#7 Accepted 3ms 1.375 MiB
#8 Accepted 3ms 1.391 MiB
#9 Accepted 3ms 1.391 MiB
#10 Accepted 3ms 1.387 MiB
#11 Accepted 5ms 1.395 MiB
#12 Accepted 6ms 1.402 MiB
#13 Accepted 17ms 1.391 MiB
#14 Accepted 24ms 1.422 MiB
#15 Accepted 50ms 1.418 MiB
#16 Accepted 117ms 1.422 MiB
#17 Accepted 129ms 1.426 MiB
#18 Accepted 500ms 1.43 MiB
#19 Accepted 484ms 1.426 MiB
#20 Accepted 468ms 1.43 MiB

信息

递交者
类型
递交
题目
P2008 愤怒的小鸟
语言
C++
递交时间
2021-08-14 09:00:00
评测时间
2021-08-14 09:01:12
评测机
分数
100
总耗时
1841ms
峰值内存
1.434 MiB