/in/foo.cc: In constructor 'Sig::Sig(std::vector<std::complex<double> >*)':
/in/foo.cc:58:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (m < V->size()) {
~~^~~~~~~~~~~
/in/foo.cc: In copy constructor 'Sig::Sig(const Sig&)':
/in/foo.cc:67:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.V->size(); ++i) {
~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'Sig Sig::fft() const':
/in/foo.cc:86:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V->size(); ++i) {
~~^~~~~~~~~~~
/in/foo.cc:92:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < V->size(); k += m) {
~~^~~~~~~~~~~
/in/foo.cc: In member function 'Sig Sig::ifft() const':
/in/foo.cc:110:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V->size(); ++i) {
~~^~~~~~~~~~~
/in/foo.cc:116:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < V->size(); k += m) {
~~^~~~~~~~~~~
/in/foo.cc: In copy constructor 'BigInteger::BigInteger(const BigInteger&)':
/in/foo.cc:188:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.T->size(); ++i) {
~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'BigInteger BigInteger::operator*(const BigInteger&)':
/in/foo.cc:210:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < T->size(); ++i) {
~~^~~~~~~~~~~
/in/foo.cc:213:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < rhs.T->size(); ++i) {
~~^~~~~~~~~~~~~~~
/in/foo.cc:225:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < lhs_out.V->size(); ++i) {
~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:235:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < pro_out.V->size(); ++i) {
~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void BigInteger::rearrange()':
/in/foo.cc:246:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < T->size() - 1; ++i) {
~~^~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void BigInteger::print()':
/in/foo.cc:263:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < T->size(); ++i) {
~~^~~~~~~~~~~
/in/foo.cc: In member function 'char* BigInteger::str()':
/in/foo.cc:273:37: warning: format '%d' expects argument of type 'int', but argument 3 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=]
sprintf(s, "%d", (*T)[l - 1]);
^