foo.cc: In member function 'BigInteger BigInteger::operator+(const BigInteger&) const':
foo.cc:35:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if (g == 0 && i >= s.size() && i >= b.s.size()) break;
| ~~^~~~~~~~~~~
foo.cc:35:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if (g == 0 && i >= s.size() && i >= b.s.size()) break;
| ~~^~~~~~~~~~~~~
foo.cc:37:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if (i < s.size()) x += s[i];
| ~~^~~~~~~~~~
foo.cc:38:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if (i < b.s.size()) x += b.s[i];
| ~~^~~~~~~~~~~~
foo.cc: In member function 'BigInteger BigInteger::operator-(const BigInteger&) const':
foo.cc:48:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if (g == 0 && i >= s.size() && i >= b.s.size()) break;
| ~~^~~~~~~~~~~
foo.cc:48:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if (g == 0 && i >= s.size() && i >= b.s.size()) break;
| ~~^~~~~~~~~~~~~
foo.cc:50:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if (i < b.s.size()) x -= b.s[i];
| ~~^~~~~~~~~~~~
foo.cc: In member function 'BigInteger BigInteger::operator*(const BigInteger&) const':
foo.cc:60:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(i=0;i<s.size();i++) for(j=0;j<b.s.size();j++) v[i+j]+=LL(s[i])*b.s[j];
| ~^~~~~~~~~
foo.cc:60:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(i=0;i<s.size();i++) for(j=0;j<b.s.size();j++) v[i+j]+=LL(s[i])*b.s[j];
| ~^~~~~~~~~~~
foo.cc:62:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | if (g ==0 && i >= v.size()) break;
| ~~^~~~~~~~~~~
foo.cc: In function 'std::ostream& operator<<(std::ostream&, const BigInteger&)':
foo.cc:121:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
121 | for (int j = 0; j < strlen(buf); j++) out << buf[j];
| ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:136:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
136 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:140:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
140 | scanf("%d%d%d%d", &a, &b, &c, &d);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务