trol.cpp: In function 'void answer(int, int)':
trol.cpp:32:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0; i<v1.size(); i++)
| ~^~~~~~~~~~
trol.cpp:35:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i=0; i<v2.size(); i++)
| ~^~~~~~~~~~
trol.cpp:35:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
35 | for(int i=0; i<v2.size(); i++)
| ^~~
trol.cpp:38:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
38 | for(int i=v1.size()-1; i>=0; i--)
| ^~~
trol.cpp: In function 'int main()':
trol.cpp:56:7: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations]
56 | a[i]=a[i-1]*10+45*cnt[i-1];
| ~~~~^~~~~~~~~~~~~~~~~~~~~~
trol.cpp:53:16: note: within this loop
53 | for(int i=2; i<=10; i++)
| ~^~~~