/ Vijos /

记录详情

Accepted

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

信息

递交者
类型
递交
题目
P2052 染色
语言
C++
递交时间
2026-06-02 01:51:50
评测时间
2026-06-02 01:51:50
评测机
分数
100
总耗时
224ms
峰值内存
14.027 MiB