/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'std::__cxx11::string* {aka std::__cxx11::basic_string<char>*}' [-Wformat=]
  scanf("%s",&ms);
                ^
/in/foo.cc:24:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[2]' [-Wformat=]
  while(scanf("%s",&ch)) {
                      ^
/in/foo.cc:26:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(st.size()>=len&&take(1)) {
      ~~~~~~~~~^~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1004ms ≥5.5 MiB
#2 Time Exceeded ≥1010ms ≥5.562 MiB
#3 Runtime Error 8ms 376.0 KiB
#4 Runtime Error 2ms 380.0 KiB
#5 Runtime Error 11ms 256.0 KiB
#6 Runtime Error 2ms 372.0 KiB
#7 Runtime Error 4ms 384.0 KiB
#8 Runtime Error 2ms 256.0 KiB
#9 Runtime Error 3ms 384.0 KiB
#10 Runtime Error 2ms 380.0 KiB
#11 Runtime Error 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1425 子串清除
语言
C++
递交时间
2018-07-24 23:06:25
评测时间
2018-07-24 23:06:25
评测机
分数
0
总耗时
2054ms
峰值内存
5.562 MiB