/ Vijos /

记录详情

Time Exceeded

foo.cc: In function ‘std::string multiply(std::string, std::string)’:
foo.cc:23:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   23 |     while (i < result.size()  && result[i] == '0') ++i;
      |            ~~^~~~~~~~~~~~~~~
foo.cc: In function ‘std::string formatResult(std::string, int)’:
foo.cc:43:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   43 |     if (decimalPos >= num.length())  {
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥5066ms ≥712.0 KiB
#2 Time Exceeded ≥5066ms ≥820.0 KiB
#3 Time Exceeded ≥5066ms ≥672.0 KiB
#4 Time Exceeded ≥5066ms ≥792.0 KiB
#5 Time Exceeded ≥5066ms ≥792.0 KiB
#6 Time Exceeded ≥5066ms ≥576.0 KiB
#7 Time Exceeded ≥5066ms ≥560.0 KiB
#8 Time Exceeded ≥5058ms ≥836.0 KiB
#9 Time Exceeded ≥5066ms ≥576.0 KiB
#10 Time Exceeded ≥5067ms ≥792.0 KiB

信息

递交者
类型
递交
题目
P1012 清帝之惑之雍正
语言
C++
递交时间
2025-02-08 21:28:41
评测时间
2025-02-11 04:20:45
评测机
分数
0
总耗时
≥50659ms
峰值内存
≥836.0 KiB