/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'std::__cxx11::string n2()':
/in/foo.cc:25:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s.size() - len;) {
                  ~~^~~~~~~~~~~~~~~~
/in/foo.cc:33:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s1.size();) {
                  ~~^~~~~~~~~~~
/in/foo.cc:34:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (s1.size() - 4 > i && s1.substr(i, 4) == "1013") {
       ~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'std::__cxx11::string n3()':
/in/foo.cc:52:22: error: 'abc' was not declared in this scope
  for (int i = abc(n-m); i < s.size()-len; i++) {
                      ^
/in/foo.cc:52:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = abc(n-m); i < s.size()-len; i++) {
                         ~~^~~~~~~~~~~~~~

信息

递交者
类型
递交
题目
P1405 古韵之同心锁
语言
C++
递交时间
2024-10-13 10:47:28
评测时间
2024-10-13 10:47:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes