/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In function 'void re(unsigned int&)':
/in/foo.cc:7:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(ch=getchar(),ch<33);x=ch-48;
  ^~~~~
/in/foo.cc:7:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while(ch=getchar(),ch<33);x=ch-48;
                            ^
/in/foo.cc: In function 'void modify(unsigned int&, unsigned int, unsigned int, unsigned int, unsigned int)':
/in/foo.cc:24:10: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  ui mid=l+r>>1;
         ~^~
/in/foo.cc: In function 'unsigned int query(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
/in/foo.cc:33:10: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  ui mid=l+r>>1;
         ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     ui mid=l+r>>1;
            ~^~
/in/foo.cc:61:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     ui mid=l+r>>1,t=query(root[k<<1],1,n,a,b);
            ~^~
# 状态 耗时 内存占用
#1 Accepted 10ms 8.5 MiB
#2 Accepted 778ms 73.125 MiB
#3 Accepted 851ms 81.875 MiB
#4 Accepted 826ms 86.125 MiB
#5 Accepted 11ms 8.375 MiB
#6 Accepted 969ms 162.375 MiB
#7 Accepted 30ms 2.375 MiB
#8 Accepted 12ms 8.375 MiB
#9 Accepted 503ms 52.875 MiB
#10 Accepted 597ms 56.961 MiB
#11 Accepted 638ms 60.875 MiB
#12 Accepted 690ms 69.5 MiB

信息

递交者
类型
递交
题目
K大数查询
语言
C++
递交时间
2017-11-27 17:31:30
评测时间
2017-11-27 17:31:30
评测机
分数
100
总耗时
5921ms
峰值内存
162.375 MiB