/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'std::__cxx11::string times(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:35:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i <= b.size() - 1; i++)
                         ~~^~~~~~~~~~~~~~~
/in/foo.cc:37:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j <= a.size() - 1; j++)
                             ~~^~~~~~~~~~~~~~~
/in/foo.cc:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = start; i <= start_digit - 2 + a.size(); i++)
                             ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int comparison(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:66:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i <= a.size() - 1; i++)
                         ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string minusstr(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:104:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = start; i <= a.size(); i++)
                         ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 3ms 512.0 KiB
#3 Accepted 3ms 504.0 KiB
#4 Accepted 3ms 460.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 4ms 384.0 KiB
#7 Accepted 1ms 384.0 KiB
#8 Accepted 4ms 384.0 KiB
#9 Accepted 5ms 384.0 KiB
#10 Accepted 3ms 464.0 KiB

信息

递交者
类型
递交
题目
P1354 Hanoi双塔问题
语言
C++
递交时间
2017-07-20 23:38:50
评测时间
2017-07-20 23:38:50
评测机
分数
100
总耗时
36ms
峰值内存
512.0 KiB