/ 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 29ms 39.578 MiB
#2 Accepted 29ms 38.762 MiB
#3 Accepted 21ms 38.285 MiB
#4 Accepted 21ms 39.324 MiB
#5 Accepted 21ms 37.773 MiB
#6 Accepted 610ms 228.914 MiB
#7 Accepted 630ms 229.961 MiB
#8 Accepted 615ms 230.102 MiB
#9 Accepted 437ms 181.609 MiB
#10 Accepted 430ms 181.598 MiB
#11 Accepted 437ms 181.898 MiB
#12 Accepted 419ms 182.832 MiB
#13 Accepted 460ms 191.469 MiB
#14 Accepted 471ms 191.668 MiB
#15 Accepted 455ms 192.078 MiB
#16 Accepted 456ms 191.332 MiB
#17 Accepted 588ms 198.707 MiB
#18 Accepted 590ms 198.293 MiB
#19 Accepted 589ms 197.781 MiB
#20 Memory Exceeded ≥359ms ≥256.0 MiB

信息

递交者
类型
递交
题目
P2004 天天爱跑步
语言
C++
递交时间
2020-11-25 07:48:29
评测时间
2020-11-25 07:48:29
评测机
分数
95
总耗时
≥7675ms
峰值内存
≥256.0 MiB