/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int Hash(char*)':
/in/foo.cc:11:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=strlen(s+1);i++){
              ~^~~~~~~~~~~~~
/in/foo.cc: In function 'char* substr(char*, int, int)':
/in/foo.cc:20:7: warning: address of local variable 's' returned [-Wreturn-local-addr]
  char s[200]="";int l=0;
       ^
/in/foo.cc: In function 'bool dfs(char*)':
/in/foo.cc:32:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=strlen(np+1);i++){
              ~^~~~~~~~~~~~~~
/in/foo.cc:58:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Runtime Error 1ms 220.0 KiB
#3 Runtime Error 1ms 224.0 KiB
#4 Runtime Error 1ms 224.0 KiB
#5 Runtime Error 1ms 224.0 KiB
#6 Runtime Error 1ms 224.0 KiB
#7 Runtime Error 1ms 224.0 KiB
#8 Runtime Error 1ms 224.0 KiB
#9 Runtime Error 1ms 224.0 KiB
#10 Runtime Error 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1031 奶牛加密术
语言
C++
递交时间
2021-02-21 10:58:03
评测时间
2021-02-21 10:58:03
评测机
分数
10
总耗时
13ms
峰值内存
224.0 KiB