/ Vijos /

记录详情

Wrong Answer

/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:57:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 224.0 KiB
#6 Wrong Answer 1ms 224.0 KiB
#7 Accepted 1ms 224.0 KiB
#8 Accepted 1ms 224.0 KiB
#9 Wrong Answer 1ms 216.0 KiB
#10 Wrong Answer 1ms 224.0 KiB

信息

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