/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:47:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   47 | #define md int mid = l + r >> 1
      |                      ~~^~~
/in/foo.cc:53:5: note: in expansion of macro 'md'
   53 |     md;
      |     ^~
/in/foo.cc: In function 'void ps(int, int, int)':
/in/foo.cc:47:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   47 | #define md int mid = l + r >> 1
      |                      ~~^~~
/in/foo.cc:70:5: note: in expansion of macro 'md'
   70 |     md;
      |     ^~
/in/foo.cc: In function 'void xg(int, long long int, int, int, int, int)':
/in/foo.cc:47:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   47 | #define md int mid = l + r >> 1
      |                      ~~^~~
/in/foo.cc:85:15: note: in expansion of macro 'md'
   85 |     ps(q,l,r);md;
      |               ^~
/in/foo.cc: In function 'long long int cx(int, int, int, int)':
/in/foo.cc:47:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   47 | #define md int mid = l + r >> 1
      |                      ~~^~~
/in/foo.cc:93:15: note: in expansion of macro 'md'
   93 |     ps(q,l,r);md;
      |               ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:102:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  102 |     for(i = 1;i <= n;++i) a[i] = read();for(i = 1;i <= n;++i) b[i] = read();
      |     ^~~
/in/foo.cc:102:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  102 |     for(i = 1;i <= n;++i) a[i] = read();for(i = 1;i <= n;++i) b[i] = read();
      |                                         ^~~
# 状态 耗时 内存占用
#1 Accepted 6ms 2.121 MiB
#2 Accepted 6ms 2.113 MiB
#3 Accepted 5ms 2.125 MiB
#4 Accepted 5ms 2.117 MiB
#5 Accepted 5ms 2.117 MiB
#6 Accepted 6ms 2.117 MiB
#7 Accepted 5ms 2.117 MiB
#8 Accepted 6ms 2.121 MiB
#9 Accepted 6ms 2.113 MiB
#10 Accepted 6ms 2.109 MiB
#11 Accepted 6ms 2.113 MiB
#12 Accepted 7ms 2.117 MiB
#13 Accepted 2ms 480.0 KiB
#14 Accepted 7ms 2.113 MiB
#15 Accepted 7ms 2.117 MiB
#16 Accepted 7ms 2.117 MiB
#17 Accepted 7ms 2.121 MiB
#18 Accepted 7ms 2.109 MiB
#19 Accepted 7ms 2.121 MiB
#20 Accepted 7ms 2.113 MiB
#21 Accepted 7ms 2.125 MiB
#22 Accepted 7ms 2.137 MiB
#23 Accepted 8ms 2.129 MiB
#24 Accepted 8ms 2.121 MiB
#25 Accepted 72ms 14.02 MiB

信息

递交者
类型
递交
题目
P2052 染色
语言
C++
递交时间
2026-10-28 22:26:30
评测时间
2026-10-28 22:26:30
评测机
分数
100
总耗时
235ms
峰值内存
14.02 MiB