/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void dfs(std::__cxx11::string)':
/in/foo.cc:47:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(n.size()<maxlen)
     ~~~~~~~~^~~~~~~
/in/foo.cc:48:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<=n.size();i++)//insert
              ~^~~~~~~~~~
/in/foo.cc:55:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i==n.size())ce=n[0];
      ~^~~~~~~~~~
/in/foo.cc:66:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<n.size();i++)//erase
              ~^~~~~~~~~
/in/foo.cc:71:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i==n.size()-1)ce=n[0];
      ~^~~~~~~~~~~~
/in/foo.cc:80:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<n.size();i++)//swap
              ~^~~~~~~~~
/in/foo.cc:81:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<n.size();j++)
               ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 37ms 72.25 MiB
#2 Accepted 34ms 72.25 MiB
#3 Accepted 48ms 72.375 MiB
#4 Accepted 51ms 72.25 MiB
#5 Accepted 59ms 72.5 MiB
#6 Accepted 36ms 72.25 MiB
#7 Accepted 170ms 73.125 MiB
#8 Accepted 758ms 75.625 MiB
#9 Accepted 986ms 76.109 MiB
#10 Accepted 72ms 72.625 MiB

信息

递交者
类型
递交
题目
P1422 教主的难题
语言
C++
递交时间
2017-07-25 15:49:17
评测时间
2017-07-25 15:49:17
评测机
分数
100
总耗时
2255ms
峰值内存
76.109 MiB