/ StarOI /

记录详情

Accepted

/in/foo.cc: In function 'int add(int, int)':
/in/foo.cc:9:68: warning: no return statement in function returning non-void [-Wreturn-type]
 int add(int a,int b){for(int i=a+1;i<=n+1;i+=i&-i)c[i]=max(c[i],b);}
                                                                    ^
# 状态 耗时 内存占用
#1 Accepted 1ms 740.0 KiB
#2 Accepted 3ms 640.0 KiB
#3 Accepted 4ms 640.0 KiB
#4 Accepted 4ms 768.0 KiB
#5 Accepted 5ms 640.0 KiB
#6 Accepted 26ms 1.875 MiB
#7 Accepted 39ms 1.812 MiB
#8 Accepted 37ms 1.75 MiB
#9 Accepted 37ms 1.75 MiB
#10 Accepted 36ms 1.836 MiB

信息

递交者
类型
递交
题目
能量收集
语言
C++
递交时间
2017-07-12 18:01:32
评测时间
2017-07-12 18:01:32
评测机
分数
100
总耗时
196ms
峰值内存
1.875 MiB