/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:56:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<NextSta[0].size();i++) dp[0][i][0]=NextNum[0][i]; 
                 ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:57:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<NextSta[1].size();i++) for(int j=0;j<NextSta[0].size();j++) 
                 ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:57:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<NextSta[1].size();i++) for(int j=0;j<NextSta[0].size();j++) 
                                                      ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:64:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i<NextSta[row].size(); i++)
                  ~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:65:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int j=0; j<NextSta[row-1].size(); j++)
                  ~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:68:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int k=0; k<NextSta[row-2].size(); k++)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:76:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(n<=1) for(int i=0;i<NextNum[0].size();i++) ans=max( ans , dp[0][i][0]);
                          ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:77:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else for(int i=0;i<NextSta[n-1].size();i++)  for(int j=0;j<NextSta[n-2].size();j++)
                      ~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:77:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else for(int i=0;i<NextSta[n-1].size();i++)  for(int j=0;j<NextSta[n-2].size();j++)
                                                              ~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 4.715 MiB
#2 Accepted 3ms 4.707 MiB
#3 Accepted 7ms 4.734 MiB
#4 Accepted 4ms 4.707 MiB
#5 Accepted 9ms 4.738 MiB
#6 Accepted 12ms 4.758 MiB
#7 Accepted 11ms 4.754 MiB
#8 Accepted 5ms 4.715 MiB
#9 Accepted 4ms 4.688 MiB
#10 Accepted 23ms 4.703 MiB

信息

递交者
类型
递交
题目
P1424 炮兵阵地
语言
C++
递交时间
2020-09-20 12:55:50
评测时间
2020-09-20 12:55:50
评测机
分数
100
总耗时
85ms
峰值内存
4.758 MiB