/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void update(int, int, int)':
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (ll+lr>>1)
              ~~^~
/in/foo.cc:44:9: note: in expansion of macro 'mid'
   if(l<=mid) update(ls,ll,mid);
         ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (ll+lr>>1)
              ~~^~
/in/foo.cc:44:27: note: in expansion of macro 'mid'
   if(l<=mid) update(ls,ll,mid);
                           ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (ll+lr>>1)
              ~~^~
/in/foo.cc:45:8: note: in expansion of macro 'mid'
   if(r>mid) update(rs,mid+1,lr);
        ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (ll+lr>>1)
              ~~^~
/in/foo.cc:45:23: note: in expansion of macro 'mid'
   if(r>mid) update(rs,mid+1,lr);
                       ^~~
/in/foo.cc: In function 'void work(aa*, int)':
/in/foo.cc:51:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
/in/foo.cc: In function 'void work2(std::vector<std::pair<long long int, long long int> >)':
/in/foo.cc:79:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<lx.size();i++)
              ~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:88:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
# 状态 耗时 内存占用
#1 Wrong Answer 14ms 24.301 MiB
#2 Wrong Answer 14ms 24.215 MiB
#3 Wrong Answer 14ms 24.316 MiB
#4 Wrong Answer 14ms 24.32 MiB
#5 Wrong Answer 15ms 24.324 MiB
#6 Wrong Answer 14ms 24.32 MiB
#7 Wrong Answer 15ms 26.305 MiB
#8 Wrong Answer 15ms 26.316 MiB
#9 Wrong Answer 14ms 24.316 MiB
#10 Wrong Answer 15ms 24.32 MiB
#11 Wrong Answer 15ms 26.32 MiB
#12 Wrong Answer 14ms 24.316 MiB
#13 Wrong Answer 14ms 24.316 MiB
#14 Wrong Answer 17ms 26.457 MiB
#15 Wrong Answer 17ms 24.484 MiB
#16 Wrong Answer 18ms 24.477 MiB
#17 Wrong Answer 654ms 50.836 MiB
#18 Wrong Answer 668ms 51.734 MiB
#19 Wrong Answer 678ms 51.789 MiB
#20 Wrong Answer 701ms 50.297 MiB

信息

递交者
类型
递交
题目
P1231 棋盘上的士兵
语言
C++
递交时间
2020-04-21 20:28:32
评测时间
2020-04-21 20:28:32
评测机
分数
0
总耗时
2952ms
峰值内存
51.789 MiB