/in/foo.cc: In function 'void print(int*)':
/in/foo.cc:16:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = pd; i >= 0; --i) printf("%d",x[i]);putchar(10);
^~~
/in/foo.cc:16:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i = pd; i >= 0; --i) printf("%d",x[i]);putchar(10);
^~~~~~~
/in/foo.cc: In function 'void print1(int)':
/in/foo.cc:20:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 1; i <= num; ++i) printf("%d",s[i]); putchar(10);
^~~
/in/foo.cc:20:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i = 1; i <= num; ++i) printf("%d",s[i]); putchar(10);
^~~~~~~
/in/foo.cc: In function 'bool check1(int, int, int, int)':
/in/foo.cc:48:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (x[d1] == 0) d1--; while (y[d2] == 0) d2--;
^~~~~
/in/foo.cc:48:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while (x[d1] == 0) d1--; while (y[d2] == 0) d2--;
^~~~~
/in/foo.cc: In function 'bool pd0(std::__cxx11::string)':
/in/foo.cc:110:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i =0; i < s1.size(); ++i) if (s1[i] != 48) return 0;
~~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:157:6: warning: unused variable 'L' [-Wunused-variable]
int L = fvck - 1;
^
/in/foo.cc: In function 'void solve(int*, int, int)':
/in/foo.cc:96:56: warning: iteration 299 invokes undefined behavior [-Waggressive-loop-optimizations]
for (int i = 0; i < fvck; ++i) ans[i + 1] += ans[i] / 10, ans[i] %= 10;
^~
/in/foo.cc:96:20: note: within this loop
for (int i = 0; i < fvck; ++i) ans[i + 1] += ans[i] / 10, ans[i] %= 10;
~~^~~~~~