/ 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 3ms 340.0 KiB
#2 Accepted 4ms 356.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 372.0 KiB
#5 Accepted 2ms 348.0 KiB
#6 Accepted 5ms 352.0 KiB
#7 Accepted 11ms 336.0 KiB
#8 Accepted 18ms 200.0 KiB
#9 Accepted 23ms 336.0 KiB
#10 Accepted 3ms 364.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2018-03-31 08:59:36
评测时间
2018-03-31 08:59:36
评测机
分数
100
总耗时
79ms
峰值内存
384.0 KiB