/ CWOI /

记录详情

Runtime Error

/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:21:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define trmid(seq) ((pt(seq).l) + (pt(seq).r) >> 1)
                     ~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:39:12: note: in expansion of macro 'trmid'
  int mid = trmid(seq);
            ^~~~~
/in/foo.cc: In function 'void Update(int, int, int)':
/in/foo.cc:21:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define trmid(seq) ((pt(seq).l) + (pt(seq).r) >> 1)
                     ~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:50:12: note: in expansion of macro 'trmid'
  int mid = trmid(seq);
            ^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 6ms 2.367 MiB
#2 Runtime Error 3ms 288.0 KiB
#3 Time Exceeded ≥1007ms ≥384.0 KiB
#4 Runtime Error 3ms 260.0 KiB
#5 Runtime Error 3ms 256.0 KiB
#6 Runtime Error 3ms 256.0 KiB
#7 Runtime Error 3ms 360.0 KiB
#8 Runtime Error 3ms 372.0 KiB
#9 Runtime Error 2ms 212.0 KiB
#10 Runtime Error 3ms 196.0 KiB

信息

递交者
类型
递交
题目
2017.07.18 P1 乔治与工作
语言
C++
递交时间
2017-07-18 19:51:33
评测时间
2017-07-18 19:51:33
评测机
分数
0
总耗时
1040ms
峰值内存
2.367 MiB