/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void update(long long int, long long int, long long int)':
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (ll+lr>>1)
              ~~^~
/in/foo.cc:45: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:45: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:46: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:46:23: note: in expansion of macro 'mid'
   if(r>mid) update(rs,mid+1,lr);
                       ^~~
/in/foo.cc: In function 'void work(aa*, long long int)':
/in/foo.cc:52:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
/in/foo.cc: In function 'll wk4(std::pair<long long int, long long int>)':
/in/foo.cc:81:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  ll midd=(la.first+la.second>>1);
           ~~~~~~~~^~~~~~~~~~
/in/foo.cc: In function 'void work2(std::vector<std::pair<long long int, long long int> >, long long int)':
/in/foo.cc:97: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:106:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
# 状态 耗时 内存占用
#1 Accepted 19ms 32.297 MiB
#2 Accepted 18ms 32.211 MiB
#3 Accepted 18ms 30.316 MiB
#4 Accepted 18ms 30.316 MiB
#5 Accepted 18ms 30.32 MiB
#6 Accepted 18ms 30.215 MiB
#7 Accepted 19ms 32.316 MiB
#8 Accepted 18ms 30.316 MiB
#9 Accepted 18ms 30.32 MiB
#10 Accepted 19ms 30.316 MiB
#11 Accepted 19ms 30.32 MiB
#12 Accepted 18ms 30.301 MiB
#13 Accepted 18ms 30.32 MiB
#14 Accepted 21ms 30.484 MiB
#15 Accepted 21ms 30.383 MiB
#16 Accepted 21ms 32.48 MiB
#17 Wrong Answer 669ms 58.055 MiB
#18 Wrong Answer 689ms 56.602 MiB
#19 Wrong Answer 675ms 56.891 MiB
#20 Wrong Answer 707ms 57.566 MiB

信息

递交者
类型
递交
题目
P1231 棋盘上的士兵
语言
C++
递交时间
2020-04-21 20:48:39
评测时间
2020-04-21 20:48:39
评测机
分数
80
总耗时
3050ms
峰值内存
58.055 MiB