/ MYOJ /

记录详情

Wrong Answer

/in/foo.cc: In member function 'bigint bigint::operator=(bigint)':
/in/foo.cc:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < n.s.size(); i++) s.push_back(n.s[i]);
                         ~~^~~~~~~~~~~~
/in/foo.cc: In member function 'void bigint::scan()':
/in/foo.cc:43:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 1; i < s.size() / 2; i++) {
                             ~~^~~~~~~~~~~~~~
/in/foo.cc:49:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 1; i <= s.size() / 2; i++) {
                             ~~^~~~~~~~~~~~~~~
/in/foo.cc: In member function 'bool bigint::operator<(bigint)':
/in/foo.cc:60:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (len < a.s.size())
             ~~~~^~~~~~~~~~~~
/in/foo.cc:62:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (len > a.s.size())
             ~~~~^~~~~~~~~~~~
/in/foo.cc: In member function 'bool bigint::operator==(bigint)':
/in/foo.cc:73:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (len != a.s.size())
             ~~~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'bool bigint::operator>(bigint)':
/in/foo.cc:82:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (len < a.s.size())
             ~~~~^~~~~~~~~~~~
/in/foo.cc:84:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (len > a.s.size())
             ~~~~^~~~~~~~~~~~
/in/foo.cc: In member function 'bigint bigint::operator/(bigint)':
/in/foo.cc:257:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 1; i < p.s.size(); i++) swap(tmp, p.s[i]);
                             ~~^~~~~~~~~~~~
/in/foo.cc:255:17: warning: unused variable 'i' [-Wunused-variable]
             int i = p.s.size() - 1;
                 ^
/in/foo.cc: In member function 'bigint bigint::operator/=(bigint)':
/in/foo.cc:300:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 1; i < p.s.size(); i++) swap(tmp, p.s[i]);
                             ~~^~~~~~~~~~~~
/in/foo.cc:298:17: warning: unused variable 'i' [-Wunused-variable]
             int i = p.s.size() - 1;
                 ^
/in/foo.cc: In member function 'bigint bigint::operator%(bigint)':
/in/foo.cc:334:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 1; i < p.s.size(); i++) swap(tmp, p.s[i]);
                             ~~^~~~~~~~~~~~
/in/foo.cc:332:17: warning: unused variable 'i' [-Wunused-variable]
             int i = p.s.size() - 1;
                 ^
/in/foo.cc: In member function 'bigint bigint::operator%=(bigint)':
/in/foo.cc:361:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 1; i < p.s.size(); i++) swap(tmp, p.s[i]);
                             ~~^~~~~~~~~~~~
/in/foo.cc:359:17: warning: unused variable 'i' [-Wunused-variable]
             int i = p.s.size() - 1;
                 ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 208.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 216.0 KiB
#6 Wrong Answer 1ms 228.0 KiB
#7 Wrong Answer 1ms 220.0 KiB
#8 Wrong Answer 1ms 228.0 KiB
#9 Wrong Answer 1ms 220.0 KiB
#10 Wrong Answer 1ms 232.0 KiB

信息

递交者
类型
递交
题目
P1023 [7FOJ]高精度除法
语言
C++
递交时间
2020-08-17 10:56:43
评测时间
2020-08-17 10:56:43
评测机
分数
0
总耗时
15ms
峰值内存
232.0 KiB