/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void search_DFS(std::__cxx11::string)':
/in/foo.cc:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(ans&&j+xtzm==x.size())
             ~~~~~~^~~~~~~~~~
/in/foo.cc:33:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(ans&&j+xtzm!=x.size())
             ~~~~~~^~~~~~~~~~
/in/foo.cc:48:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(!ans&&sum.size()>maxn)
           ~~~~~~~~~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:56:17: 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",&a[i]);
                 ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 196.0 KiB
#2 Runtime Error 1ms 256.0 KiB
#3 Runtime Error 3ms 340.0 KiB
#4 Runtime Error 3ms 256.0 KiB
#5 Runtime Error 2ms 256.0 KiB
#6 Runtime Error 3ms 320.0 KiB
#7 Runtime Error 2ms 256.0 KiB
#8 Runtime Error 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1311 单词接龙
语言
C++
递交时间
2017-06-24 10:57:45
评测时间
2017-06-24 10:57:45
评测机
分数
0
总耗时
21ms
峰值内存
340.0 KiB