/ 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 364.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 4ms 256.0 KiB
#7 Accepted 9ms 372.0 KiB
#8 Accepted 12ms 356.0 KiB
#9 Accepted 12ms 336.0 KiB
#10 Accepted 3ms 328.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2017-08-19 01:14:24
评测时间
2017-08-19 01:14:24
评测机
分数
100
总耗时
58ms
峰值内存
384.0 KiB