Compile Error

/in/foo.cc: In function 'bool isGreaterOrEqual(const std::string&, const std::string&)':
/in/foo.cc:13:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |     for (int i = 0; i < a.length(); ++i) {
      |                     ~~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:133:9: error: 'fout' was not declared in this scope
  133 |         fout << "0" << endl;
      |         ^~~~
/in/foo.cc:136:13: error: 'fout' was not declared in this scope
  136 |             fout << "-";
      |             ^~~~

信息

递交者
类型
递交
题目
P1940 1.6.11大整数减法
语言
C++
递交时间
2025-10-07 17:10:31
评测时间
2025-10-07 17:10:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes