/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:25:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int m = l + r >> 1;
          ~~^~~
/in/foo.cc: In function 'void update(int, int, int, int, int)':
/in/foo.cc:35:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int m = l + r >> 1;
          ~~^~~
/in/foo.cc: In function 'node query(int, int, int, int, int)':
/in/foo.cc:43:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int m = l + r >> 1, max1;
          ~~^~~
/in/foo.cc:43:22: warning: unused variable 'max1' [-Wunused-variable]
  int m = l + r >> 1, max1;
                      ^~~~
/in/foo.cc:44:7: warning: unused variable 's1' [-Wunused-variable]
  node s1, s2;
       ^~
/in/foo.cc:44:11: warning: unused variable 's2' [-Wunused-variable]
  node s1, s2;
           ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:59:9: warning: unused variable 'j' [-Wunused-variable]
  int i, j, n, m, o, a, b, c;
         ^
/in/foo.cc:59:27: warning: unused variable 'c' [-Wunused-variable]
  int i, j, n, m, o, a, b, c;
                           ^
# 状态 耗时 内存占用
#1 Accepted 1ms 224.0 KiB
#2 Accepted 7ms 548.0 KiB
#3 Accepted 18ms 1.215 MiB
#4 Accepted 15ms 3.961 MiB
#5 Accepted 72ms 3.48 MiB
#6 Accepted 128ms 16.828 MiB
#7 Accepted 152ms 17.84 MiB
#8 Accepted 148ms 18.141 MiB
#9 Accepted 152ms 18.125 MiB
#10 Accepted 153ms 17.328 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2019-08-02 00:20:26
评测时间
2019-08-02 00:20:26
评测机
分数
100
总耗时
851ms
峰值内存
18.141 MiB