/ OPS /

记录详情

Time Exceeded

/in/foo.cc: In function 'void turn(std::string&)':
/in/foo.cc:6:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    6 |  for (int i = 0; i < s.length() / 2; i++)
      |                  ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   31 |     for (int i = tempb; i < num.length(); i++)
      |                         ~~^~~~~~~~~~~~~~
/in/foo.cc:30:9: warning: unused variable 'templen' [-Wunused-variable]
   30 |     int templen = num.length() - ans.length();
      |         ^~~~~~~
/in/foo.cc:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   38 |    for (int i = 0; i < num.length(); i++)
      |                    ~~^~~~~~~~~~~~~~
/in/foo.cc:44:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   44 |    for (int i = 0; i < ans.length(); i++)
      |                    ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1004ms ≥492.0 KiB

信息

递交者
类型
递交
题目
P1111 大数加
语言
C++
递交时间
2024-12-21 10:15:15
评测时间
2024-12-21 10:15:15
评测机
分数
0
总耗时
≥1004ms
峰值内存
≥492.0 KiB