/ Vijos /

记录详情

Accepted

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

信息

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