记录详情

Compile Error

/in/foo.cc: In function 'void td(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:7:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<t.length();k++)
          ~^~~~~~~~~~~
/in/foo.cc:7:23: error: 'k' was not declared in this scope
  for(i=0;i<t.length();k++)
                       ^
/in/foo.cc:22:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<t.length();k++)
          ~^~~~~~~~~~~
/in/foo.cc:22:23: error: 'k' was not declared in this scope
  for(i=0;i<t.length();k++)
                       ^

信息

递交者
类型
自测
题目
4-7 密钥表与替代密码
语言
C++
递交时间
2024-12-09 13:32:13
评测时间
2024-12-09 13:32:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes