/ 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&&Det(M.Start,N.Start,N.End)<=0||D2==0&&Det(M.End,N.Start,N.End)<=0||D3==0&&Det(N.Start,M.Start,M.End)<=0||D4==0&&Det(N.End,M.Start,M.End)){
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:76:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(D1==0&&Det(M.Start,N.Start,N.End)<=0||D2==0&&Det(M.End,N.Start,N.End)<=0||D3==0&&Det(N.Start,M.Start,M.End)<=0||D4==0&&Det(N.End,M.Start,M.End)){
                                                                               ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:76:122: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(D1==0&&Det(M.Start,N.Start,N.End)<=0||D2==0&&Det(M.End,N.Start,N.End)<=0||D3==0&&Det(N.Start,M.Start,M.End)<=0||D4==0&&Det(N.End,M.Start,M.End)){
                                                                                                                     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/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 384.0 KiB
#2 Accepted 3ms 340.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Wrong Answer 3ms 368.0 KiB
#5 Accepted 6ms 256.0 KiB
#6 Wrong Answer 4ms 356.0 KiB

信息

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