/ Vijos /

记录详情

Memory Exceeded

/in/foo.cc: In function 'void dts::tr_dfs1(int, int)':
/in/foo.cc:31:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i=0;i<tr[now].s.size();i++)
                ~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void dts::tr_dfs2(int, int)':
/in/foo.cc:52:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i=0;i<tr[now].s.size();i++)
                 ~^~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void dts::segtree::update(int&, int, int, int, int)':
/in/foo.cc:99:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (now==-1||now+1>st.size())
                  ~~~~~^~~~~~~~~~
/in/foo.cc: In member function 'int dts::segtree::ask(int, int, int)':
/in/foo.cc:143:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (now==-1||now+1>st.size())
                  ~~~~~^~~~~~~~~~
/in/foo.cc: In function 'void dts::main()':
/in/foo.cc:208:32: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
    scanf("%lld%lld",&s[i],&t[i]);
                                ^
/in/foo.cc:208:32: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 25ms 29.668 MiB
#2 Accepted 27ms 28.664 MiB
#3 Accepted 25ms 28.125 MiB
#4 Accepted 26ms 28.926 MiB
#5 Accepted 25ms 29.773 MiB
#6 Accepted 618ms 222.023 MiB
#7 Accepted 620ms 222.496 MiB
#8 Accepted 634ms 222.527 MiB
#9 Accepted 439ms 174.785 MiB
#10 Accepted 433ms 174.172 MiB
#11 Accepted 438ms 173.25 MiB
#12 Accepted 428ms 174.734 MiB
#13 Accepted 472ms 184.305 MiB
#14 Accepted 466ms 183.062 MiB
#15 Accepted 467ms 183.176 MiB
#16 Accepted 463ms 183.895 MiB
#17 Accepted 597ms 189.938 MiB
#18 Accepted 595ms 190.031 MiB
#19 Accepted 606ms 190.832 MiB
#20 Memory Exceeded ≥373ms ≥256.0 MiB

信息

递交者
类型
递交
题目
P2004 天天爱跑步
语言
C++
递交时间
2020-11-24 23:20:58
评测时间
2020-11-24 23:20:58
评测机
分数
95
总耗时
≥7788ms
峰值内存
≥256.0 MiB