/ Vijos /

记录详情

Runtime Error

/in/foo.cc:7:19: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
 #define N (int)5e4+10
           ~~~~~~~~^~
/in/foo.cc:14:11: note: in expansion of macro 'N'
  int head[N<<1],to[N<<1],next[N<<1],w[N<<1],cnt;
           ^
/in/foo.cc:7:19: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
 #define N (int)5e4+10
           ~~~~~~~~^~
/in/foo.cc:14:20: note: in expansion of macro 'N'
  int head[N<<1],to[N<<1],next[N<<1],w[N<<1],cnt;
                    ^
/in/foo.cc:7:19: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
 #define N (int)5e4+10
           ~~~~~~~~^~
/in/foo.cc:14:31: note: in expansion of macro 'N'
  int head[N<<1],to[N<<1],next[N<<1],w[N<<1],cnt;
                               ^
/in/foo.cc:7:19: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
 #define N (int)5e4+10
           ~~~~~~~~^~
/in/foo.cc:14:39: note: in expansion of macro 'N'
  int head[N<<1],to[N<<1],next[N<<1],w[N<<1],cnt;
                                       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:117:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   long long mid=l+r>>1;
                 ~^~
# 状态 耗时 内存占用
#1 Accepted 4ms 6.5 MiB
#2 Wrong Answer 4ms 6.375 MiB
#3 Wrong Answer 4ms 4.5 MiB
#4 Wrong Answer 3ms 4.582 MiB
#5 Wrong Answer 5ms 6.5 MiB
#6 Runtime Error 10ms 8.5 MiB
#7 Runtime Error 7ms 6.25 MiB
#8 Runtime Error 17ms 7.027 MiB
#9 Wrong Answer 170ms 11.129 MiB
#10 Accepted 2ms 6.59 MiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2017-08-29 21:26:59
评测时间
2017-08-29 21:26:59
评测机
分数
20
总耗时
230ms
峰值内存
11.129 MiB