/ Vijos /

记录详情

Accepted

/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 Accepted 5ms 3.082 MiB
#2 Accepted 9ms 3.082 MiB
#3 Accepted 363ms 15.625 MiB
#4 Accepted 169ms 13.125 MiB
#5 Accepted 423ms 24.5 MiB
#6 Accepted 541ms 26.75 MiB
#7 Accepted 757ms 34.875 MiB
#8 Accepted 1272ms 33.984 MiB
#9 Accepted 1308ms 28.203 MiB
#10 Accepted 1463ms 29.0 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2018-07-25 23:27:28
评测时间
2018-07-25 23:27:28
评测机
分数
100
总耗时
6312ms
峰值内存
34.875 MiB