/in/foo.cc: In function 'void print(int*)':
/in/foo.cc:16:5: 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:53: 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:5: 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:55: 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:54:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (x[d1] == 0) d1--; while (y[d2] == 0) d2--;
^~~~~
/in/foo.cc:54:30: 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:116:22: 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:164:9: warning: unused variable 'L' [-Wunused-variable]
int L = fvck - 1;
^
/in/foo.cc: In function 'void solve(int*, int, int)':
/in/foo.cc:102:59: warning: iteration 319 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:102:23: note: within this loop
for (int i = 0; i < fvck; ++i) ans[i + 1] += ans[i] / 10, ans[i] %= 10;
~~^~~~~~