encoder.cpp: In function 'bool operator<(huge, huge)':
encoder.cpp:10:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 0;}
^~~
encoder.cpp:10:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 0;}
^~~~~~
encoder.cpp: In function 'bool operator<=(huge, huge)':
encoder.cpp:13:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 1;}
^~~
encoder.cpp:13:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 1;}
^~~~~~
encoder.cpp: In function 'bool operator>(huge, huge)':
encoder.cpp:16:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 0;}
^~~
encoder.cpp:16:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 0;}
^~~~~~
encoder.cpp: In function 'bool operator>=(huge, huge)':
encoder.cpp:19:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 1;}
^~~
encoder.cpp:19:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 1;}
^~~~~~
encoder.cpp: In function 'bool operator==(huge, huge)':
encoder.cpp:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.size (); i++)if (a[i] != b[i])return 0;return 1;}
~^~~~~~~~~~
encoder.cpp:22:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=0; i<a.size (); i++)if (a[i] != b[i])return 0;return 1;}
^~~
encoder.cpp:22:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=0; i<a.size (); i++)if (a[i] != b[i])return 0;return 1;}
^~~~~~
encoder.cpp: In function 'huge operator+(huge, huge)':
encoder.cpp:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<ans.size (); i++)
~^~~~~~~~~~~~
encoder.cpp:30:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans[i] = (i < a.size () ? a[i] : 0) + (i < b.size () ? b[i] : 0) + t;
~~^~~~~~~~~~~
encoder.cpp:30:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans[i] = (i < a.size () ? a[i] : 0) + (i < b.size () ? b[i] : 0) + t;
~~^~~~~~~~~~~
encoder.cpp: In function 'huge operator-(huge, huge)':
encoder.cpp:42:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.size (); i++)
~^~~~~~~~~~
encoder.cpp:44:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans[i] = a[i] - (i < b.size () ? b[i] : 0) - t;
~~^~~~~~~~~~~
encoder.cpp: In function 'void encode(int, int*)':
encoder.cpp:105:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i + 1<h.size (); i++)
~~~~~^~~~~~~~~~
encoder.cpp: At global scope:
encoder.cpp:21:13: warning: 'bool operator==(huge, huge)' defined but not used [-Wunused-function]
static bool operator == (huge a, huge b){if (a.size () != b.size ()) return 0;
^~~~~~~~
encoder.cpp:18:13: warning: 'bool operator>=(huge, huge)' defined but not used [-Wunused-function]
static bool operator >= (huge a, huge b){if (a.size () > b.size ()) return 1;if (a.size () < b.size ()) return 0;
^~~~~~~~
encoder.cpp:15:13: warning: 'bool operator>(huge, huge)' defined but not used [-Wunused-function]
static bool operator > (huge a, huge b){if (a.size () > b.size ()) return 1;if (a.size () < b.size ()) return 0;
^~~~~~~~
encoder.cpp:9:13: warning: 'bool operator<(huge, huge)' defined but not used [-Wunused-function]
static bool operator < (huge a, huge b){if (a.size () < b.size ()) return 1;if (a.size () > b.size ()) return 0;
^~~~~~~~
decoder.cpp: In function 'bool operator<(huge, huge)':
decoder.cpp:10:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 0;}
^~~
decoder.cpp:10:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 0;}
^~~~~~
decoder.cpp: In function 'bool operator<=(huge, huge)':
decoder.cpp:13:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 1;}
^~~
decoder.cpp:13:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] < b[i];return 1;}
^~~~~~
decoder.cpp: In function 'bool operator>(huge, huge)':
decoder.cpp:16:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 0;}
^~~
decoder.cpp:16:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 0;}
^~~~~~
decoder.cpp: In function 'bool operator>=(huge, huge)':
decoder.cpp:19:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 1;}
^~~
decoder.cpp:19:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=a.size () - 1; i>=0; i--)if (a[i] != b[i])return a[i] > b[i];return 1;}
^~~~~~
decoder.cpp: In function 'bool operator==(huge, huge)':
decoder.cpp:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.size (); i++)if (a[i] != b[i])return 0;return 1;}
~^~~~~~~~~~
decoder.cpp:22:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=0; i<a.size (); i++)if (a[i] != b[i])return 0;return 1;}
^~~
decoder.cpp:22:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=0; i<a.size (); i++)if (a[i] != b[i])return 0;return 1;}
^~~~~~
decoder.cpp: In function 'huge operator+(huge, huge)':
decoder.cpp:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<ans.size (); i++)
~^~~~~~~~~~~~
decoder.cpp:30:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans[i] = (i < a.size () ? a[i] : 0) + (i < b.size () ? b[i] : 0) + t;
~~^~~~~~~~~~~
decoder.cpp:30:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans[i] = (i < a.size () ? a[i] : 0) + (i < b.size () ? b[i] : 0) + t;
~~^~~~~~~~~~~
decoder.cpp: In function 'huge operator-(huge, huge)':
decoder.cpp:42:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.size (); i++)
~^~~~~~~~~~
decoder.cpp:44:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans[i] = a[i] - (i < b.size () ? b[i] : 0) - t;
~~^~~~~~~~~~~
decoder.cpp: In function 'void printTo(huge&, int, int*)':
decoder.cpp:77:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<x.size (); i++)
~^~~~~~~~~~
decoder.cpp: At global scope:
decoder.cpp:59:13: warning: 'void init(huge&, int, int*)' defined but not used [-Wunused-function]
static void init (huge &x, int sz, int v[])
^~~~
decoder.cpp:38:13: warning: 'huge operator-(huge, huge)' defined but not used [-Wunused-function]
static huge operator - (huge a, huge b)
^~~~~~~~
decoder.cpp:21:13: warning: 'bool operator==(huge, huge)' defined but not used [-Wunused-function]
static bool operator == (huge a, huge b){if (a.size () != b.size ()) return 0;
^~~~~~~~
decoder.cpp:18:13: warning: 'bool operator>=(huge, huge)' defined but not used [-Wunused-function]
static bool operator >= (huge a, huge b){if (a.size () > b.size ()) return 1;if (a.size () < b.size ()) return 0;
^~~~~~~~
decoder.cpp:15:13: warning: 'bool operator>(huge, huge)' defined but not used [-Wunused-function]
static bool operator > (huge a, huge b){if (a.size () > b.size ()) return 1;if (a.size () < b.size ()) return 0;
^~~~~~~~
decoder.cpp:12:13: warning: 'bool operator<=(huge, huge)' defined but not used [-Wunused-function]
static bool operator <= (huge a, huge b){if (a.size () < b.size ()) return 1;if (a.size () > b.size ()) return 0;
^~~~~~~~
decoder.cpp:9:13: warning: 'bool operator<(huge, huge)' defined but not used [-Wunused-function]
static bool operator < (huge a, huge b){if (a.size () < b.size ()) return 1;if (a.size () > b.size ()) return 0;
^~~~~~~~