/ Vijos /

记录详情

Accepted

foo.cc: In function 'void build(int, int, int)':
foo.cc:27:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define md int mid = l + r >> 1
                      ~~^~~
foo.cc:33:2: note: in expansion of macro 'md'
  md;
  ^~
foo.cc: In function 'void ps(int, int, int)':
foo.cc:27:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define md int mid = l + r >> 1
                      ~~^~~
foo.cc:50:2: note: in expansion of macro 'md'
  md;
  ^~
foo.cc: In function 'void xg(int, long long int, int, int, int, int)':
foo.cc:27:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define md int mid = l + r >> 1
                      ~~^~~
foo.cc:65:12: note: in expansion of macro 'md'
  ps(q,l,r);md;
            ^~
foo.cc: In function 'long long int cx(int, int, int, int)':
foo.cc:27:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define md int mid = l + r >> 1
                      ~~^~~
foo.cc:73:12: note: in expansion of macro 'md'
  ps(q,l,r);md;
            ^~
foo.cc: In function 'int main()':
foo.cc:82:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i = 1;i <= n;++i) a[i] = read();for(i = 1;i <= n;++i) b[i] = read();
  ^~~
foo.cc:82:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(i = 1;i <= n;++i) a[i] = read();for(i = 1;i <= n;++i) b[i] = read();
                                      ^~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-08-05T11:06:05.284Z","handle":"2020-08-05T11:06:05.284Z","cache_start":"2020-08-05T11:06:05.334Z","read_cases":"2020-08-05T11:06:05.962Z","judge":"2020-08-05T11:06:05.963Z","done":"2020-08-05T11:06:08.270Z"}
# 状态 耗时 内存占用
#1 Accepted 5ms 1.875 MiB
#2 Accepted 6ms 1.875 MiB
#3 Accepted 5ms 1.875 MiB
#4 Accepted 5ms 1.879 MiB
#5 Accepted 5ms 1.879 MiB
#6 Accepted 5ms 1.875 MiB
#7 Accepted 5ms 1.816 MiB
#8 Accepted 5ms 1.875 MiB
#9 Accepted 5ms 1.875 MiB
#10 Accepted 5ms 1.879 MiB
#11 Accepted 5ms 1.875 MiB
#12 Accepted 6ms 1.879 MiB
#13 Accepted 1ms 384.0 KiB
#14 Accepted 6ms 1.883 MiB
#15 Accepted 7ms 1.883 MiB
#16 Accepted 7ms 1.879 MiB
#17 Accepted 6ms 1.879 MiB
#18 Accepted 7ms 1.883 MiB
#19 Accepted 7ms 1.883 MiB
#20 Accepted 7ms 1.883 MiB
#21 Accepted 7ms 1.875 MiB
#22 Accepted 6ms 1.883 MiB
#23 Accepted 7ms 1.879 MiB
#24 Accepted 7ms 1.883 MiB
#25 Accepted 69ms 13.777 MiB

信息

递交者
类型
递交
题目
P2052 染色
语言
C++
递交时间
2020-08-05 19:06:05
评测时间
2020-08-05 19:06:05
评测机
分数
100
总耗时
219ms
峰值内存
13.777 MiB