/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(k=0;k<=a[i-j].length()-1;k++)
            ~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:21:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(k==a[i-j].length()&&s[i-j]>=s[i])
          ~^~~~~~~~~~~~~~~~~
/in/foo.cc:6:8: warning: unused variable 'm' [-Wunused-variable]
  int n,m,i,j,k,max;
        ^
/in/foo.cc:6:16: warning: unused variable 'max' [-Wunused-variable]
  int n,m,i,j,k,max;
                ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 628.0 KiB
#2 Accepted 3ms 640.0 KiB
#3 Accepted 6ms 620.0 KiB
#4 Accepted 3ms 620.0 KiB
#5 Accepted 2ms 612.0 KiB
#6 Accepted 2ms 628.0 KiB
#7 Accepted 2ms 588.0 KiB
#8 Accepted 2ms 596.0 KiB
#9 Accepted 2ms 640.0 KiB
#10 Accepted 10ms 736.0 KiB

信息

递交者
类型
递交
题目
P1028 魔族密码
语言
C++
递交时间
2018-07-19 14:20:12
评测时间
2018-07-19 14:20:12
评测机
分数
100
总耗时
39ms
峰值内存
736.0 KiB