/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'bignum bignum::operator+(bignum) const':
/in/foo.cc:50:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(g==0 && k>=b.s.size() && k>=s.size()) {break;}
                        ~^~~~~~~~~~~~
/in/foo.cc:50:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(g==0 && k>=b.s.size() && k>=s.size()) {break;}
                                         ~^~~~~~~~~~
/in/foo.cc:52:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(k<b.s.size()) x+=b.s[k];
                ~^~~~~~~~~~~
/in/foo.cc:53:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(k<s.size()) x+=s[k];
                ~^~~~~~~~~
/in/foo.cc: In member function 'bignum bignum::operator-(bignum) const':
/in/foo.cc:63:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(g==0 && k>=s.size()) {break;}
                        ~^~~~~~~~~~
/in/foo.cc:65:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(k<b.s.size()) x-=b.s[k];
                ~^~~~~~~~~~~
/in/foo.cc: In member function 'bignum bignum::operator*(bignum) const':
/in/foo.cc:7:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define siji(i,x,y) for(int i=(x);i<=(y);++i)
                                    ^
/in/foo.cc:76:9: note: in expansion of macro 'siji'
         siji(i,1,s.size()+b.s.size()+2) c.s.push_back(0);
         ^~~~
/in/foo.cc:77:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0;i<s.size();++i) {
                     ~^~~~~~~~~
/in/foo.cc:78:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int j=0;j<b.s.size();++j) {
                         ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 576.0 KiB
#2 Accepted 4ms 732.0 KiB
#3 Accepted 6ms 856.0 KiB
#4 Accepted 7ms 1000.0 KiB
#5 Accepted 9ms 1.398 MiB
#6 Accepted 16ms 2.539 MiB
#7 Accepted 16ms 2.504 MiB
#8 Accepted 17ms 2.531 MiB
#9 Accepted 17ms 2.609 MiB
#10 Accepted 16ms 2.59 MiB

信息

递交者
类型
递交
题目
P1435 简单的邮递计划
语言
C++
递交时间
2021-05-03 23:58:27
评测时间
2021-05-03 23:58:27
评测机
分数
100
总耗时
115ms
峰值内存
2.609 MiB