记录详情

Memory Exceeded

/in/foo.cc: In function 'void read(int&)':
/in/foo.cc:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(x=0; isdigit(ch); x=x*10+ch-'0',ch=getchar()); if(ok) x=-x;
     ^~~
/in/foo.cc:9:56: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(x=0; isdigit(ch); x=x*10+ch-'0',ch=getchar()); if(ok) x=-x;
                                                        ^~
/in/foo.cc: In member function 'void oo::build(int, int, int)':
/in/foo.cc:19:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         build(now<<1,l,l+r>>1);
                        ~^~
/in/foo.cc:20:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         build(now<<1|1,(l+r>>1)+1,r);
                         ~^~
/in/foo.cc: In member function 'void oo::change(int, int, int)':
/in/foo.cc:26:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid=y[now].a+y[now].b>>1;
                 ~~~~~~~~^~~~~~~~~
/in/foo.cc: In member function 'void oo::get(int, int, int)':
/in/foo.cc:36:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
             int mid=y[now].a+y[now].b>>1;
                     ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:47:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     build(now<<1,l,l+r>>1);
                    ~^~
/in/foo.cc:48:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     build(now<<1|1,(l+r>>1)+1,r);
                     ~^~
/in/foo.cc: In function 'void change(int, int, int, int)':
/in/foo.cc:54:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=x[now].a+x[now].b>>1;
             ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'void get(int, int, int, int, int)':
/in/foo.cc:64:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid=x[now].a+x[now].b>>1;
                 ~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 356.0 KiB
#2 Memory Exceeded ≥223ms ≥64.0 MiB
#3 Accepted 137ms 28.375 MiB
#4 Accepted 139ms 23.125 MiB
#5 Accepted 200ms 63.949 MiB
#6 Accepted 14ms 10.375 MiB
#7 Accepted 188ms 53.613 MiB
#8 Accepted 136ms 21.762 MiB
#9 Accepted 150ms 23.738 MiB
#10 Accepted 179ms 62.852 MiB

信息

递交者
类型
递交
题目
打鼹鼠
题目数据
下载
语言
C++
递交时间
2018-08-06 20:14:35
评测时间
2018-08-06 20:14:35
评测机
分数
90
总耗时
≥1374ms
峰值内存
≥64.0 MiB