/ 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 4.25 MiB
#2 Accepted 3ms 4.332 MiB
#3 Accepted 4ms 6.363 MiB
#4 Wrong Answer 3ms 4.34 MiB
#5 Accepted 6ms 6.352 MiB
#6 Wrong Answer 4ms 4.375 MiB

信息

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