/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'long long int Check(Line, Line)':
/in/foo.cc:71:24: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
  if((D1^D2)==-2&&(D3^D4==-2)){
                      ~~^~~~
/in/foo.cc:76:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(D1==0&&Cmp(Dot(M.Start,N.Start,N.End))<=0||D2==0&&Cmp(Dot(M.End,N.Start,N.End))<=0||D3==0&&Cmp(Dot(N.Start,M.Start,M.End))<=0||D4==0&&Cmp(Dot(N.End,M.Start,M.End))<=0){
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:76:94: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(D1==0&&Cmp(Dot(M.Start,N.Start,N.End))<=0||D2==0&&Cmp(Dot(M.End,N.Start,N.End))<=0||D3==0&&Cmp(Dot(N.Start,M.Start,M.End))<=0||D4==0&&Cmp(Dot(N.End,M.Start,M.End))<=0){
                                                                                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:76:137: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(D1==0&&Cmp(Dot(M.Start,N.Start,N.End))<=0||D2==0&&Cmp(Dot(M.End,N.Start,N.End))<=0||D3==0&&Cmp(Dot(N.Start,M.Start,M.End))<=0||D4==0&&Cmp(Dot(N.End,M.Start,M.End))<=0){
                                                                                                                                    ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void Dijkstra_Heap(long long int)':
/in/foo.cc:85:7: warning: unused variable 'J' [-Wunused-variable]
  LL I,J,K;
       ^
/in/foo.cc:85:9: warning: unused variable 'K' [-Wunused-variable]
  LL I,J,K;
         ^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 340.0 KiB
#2 Accepted 11ms 372.0 KiB
#3 Accepted 4ms 348.0 KiB
#4 Wrong Answer 12ms 336.0 KiB
#5 Accepted 9ms 344.0 KiB
#6 Wrong Answer 4ms 348.0 KiB

信息

递交者
类型
递交
题目
P1013 强墙
语言
C++
递交时间
2018-05-08 16:53:20
评测时间
2018-05-08 16:53:20
评测机
分数
30
总耗时
47ms
峰值内存
372.0 KiB