/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'std::__cxx11::string sDiv(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:89:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 while (nAi <= sA.size())
        ~~~~^~~~~~~~~~~~
/in/foo.cc:100:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 if (nAi != sA.size())
     ~~~~^~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string sSub(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:123:22: warning: unused variable 'j' [-Wunused-variable]
 int nLenA, nLenB, i, j, nSub = 0, nA, nB;
                      ^
/in/foo.cc: In function 'std::__cxx11::string sAtimesB(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:61:5: warning: 'nC' may be used uninitialized in this function [-Wmaybe-uninitialized]
 nC--;
     ^
# 状态 耗时 内存占用
#1 Accepted 2ms 336.0 KiB
#2 Accepted 2ms 336.0 KiB
#3 Accepted 2ms 328.0 KiB
#4 Accepted 1ms 412.0 KiB
#5 Accepted 2ms 340.0 KiB
#6 Accepted 2ms 504.0 KiB
#7 Accepted 6ms 376.0 KiB
#8 Accepted 9ms 328.0 KiB
#9 Accepted 30ms 376.0 KiB
#10 Accepted 3ms 344.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2017-04-21 09:52:17
评测时间
2017-04-21 09:52:17
评测机
分数
100
总耗时
63ms
峰值内存
504.0 KiB