/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void upd(int)':
/in/foo.cc:21:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i = 0; i < V.size(); i++) V[i] = A.same;
                        ~~^~~~~~~~~~
/in/foo.cc:29:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < V.size(); i++) A.lmx = max(A.lmx, A.sm += V[i]);
                    ~~^~~~~~~~~~
/in/foo.cc:34:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < V.size(); i++) {
                    ~~^~~~~~~~~~
/in/foo.cc: In function 'void merge(int)':
/in/foo.cc:50:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < K[b].V.size(); i++) K[a].V.push_back(K[b].V[i]);
                    ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int split(int, int)':
/in/foo.cc:59:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = pos; i < K[a].V.size(); i++) K[b].V.push_back(K[a].V[i]);
                      ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'void findpos(int, int&, int&)':
/in/foo.cc:71:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(num <= K[nw].V.size()) {
            ~~~~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥3002ms ≥2.75 MiB
#2 Time Exceeded ≥3007ms ≥3.859 MiB
#3 Time Exceeded ≥3005ms ≥2.75 MiB
#4 Time Exceeded ≥3005ms ≥3.086 MiB
#5 Time Exceeded ≥3006ms ≥3.465 MiB
#6 Time Exceeded ≥3005ms ≥3.473 MiB
#7 Time Exceeded ≥3006ms ≥3.5 MiB
#8 Time Exceeded ≥3004ms ≥3.852 MiB
#9 Time Exceeded ≥3007ms ≥3.625 MiB
#10 Time Exceeded ≥3007ms ≥3.605 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2018-07-25 23:30:32
评测时间
2018-07-25 23:30:32
评测机
分数
0
总耗时
≥30058ms
峰值内存
≥3.859 MiB