/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int read()':
/in/foo.cc:9:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(c>='0'&&c<='9')_*=10,_+=c&15,c=getchar();return f?-_:_;
  ^~~~~
/in/foo.cc:9:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while(c>='0'&&c<='9')_*=10,_+=c&15,c=getchar();return f?-_:_;
                                                 ^~~~~~
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:37:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;build(lson);build(rson);pushup(id);
          ~^~
/in/foo.cc: In function 'Sgt Query(int, int, int, int, int)':
/in/foo.cc:42:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'void Update(int, int, int, int, int)':
/in/foo.cc:59:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc:61:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else Update(rson,v,ps);pushup(id);
  ^~~~
/in/foo.cc:61:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
  else Update(rson,v,ps);pushup(id);
                         ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:73:10: warning: unused variable 'l' [-Wunused-variable]
  for(int l;m--;)
          ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 384.0 KiB
#2 Wrong Answer 12ms 636.0 KiB
#3 Wrong Answer 28ms 1.375 MiB
#4 Wrong Answer 16ms 2.25 MiB
#5 Wrong Answer 74ms 2.25 MiB
#6 Wrong Answer 143ms 16.324 MiB
#7 Wrong Answer 170ms 16.387 MiB
#8 Wrong Answer 151ms 16.398 MiB
#9 Wrong Answer 149ms 16.27 MiB
#10 Wrong Answer 194ms 16.375 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2018-08-23 10:22:21
评测时间
2018-08-23 10:22:21
评测机
分数
0
总耗时
946ms
峰值内存
16.398 MiB