/ 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 4ms 356.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 4ms 376.0 KiB
#4 Accepted 3ms 276.0 KiB
#5 Accepted 5ms 360.0 KiB
#6 Accepted 5ms 372.0 KiB
#7 Accepted 8ms 348.0 KiB
#8 Accepted 12ms 348.0 KiB
#9 Accepted 24ms 356.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2018-01-17 16:11:53
评测时间
2018-01-17 16:11:53
评测机
分数
100
总耗时
77ms
峰值内存
384.0 KiB