/ Vijos /

记录详情

Accepted

/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:84: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:93:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
# 状态 耗时 内存占用
#1 Accepted 22ms 34.297 MiB
#2 Accepted 22ms 34.227 MiB
#3 Accepted 23ms 34.316 MiB
#4 Accepted 23ms 34.316 MiB
#5 Accepted 22ms 32.316 MiB
#6 Accepted 23ms 34.32 MiB
#7 Accepted 22ms 34.316 MiB
#8 Accepted 20ms 32.32 MiB
#9 Accepted 20ms 32.32 MiB
#10 Accepted 20ms 32.297 MiB
#11 Accepted 21ms 34.32 MiB
#12 Accepted 20ms 32.316 MiB
#13 Accepted 20ms 34.32 MiB
#14 Accepted 22ms 32.484 MiB
#15 Accepted 23ms 32.426 MiB
#16 Accepted 22ms 34.48 MiB
#17 Accepted 648ms 62.895 MiB
#18 Accepted 656ms 62.641 MiB
#19 Accepted 672ms 62.762 MiB
#20 Accepted 691ms 62.973 MiB

信息

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