printer.cpp: In function 'int main()':
printer.cpp:9:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d" , &n);
~~^
printer.cpp:12:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(maxx<strlen(s[i])) { maxx=strlen(s[i]); idx=i; }
~~~~^~~~~~~~~~~~~
printer.cpp:14:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long i=0;i<strlen(s[idx]);i++)
~^~~~~~~~~~~~~~~
printer.cpp:18:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long j=0;j<strlen(s[i]);j++)
~^~~~~~~~~~~~~
printer.cpp:26:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long j=idx;j<A[i].second.size();j++)
~^~~~~~~~~~~~~~~~~~~
printer.cpp:31:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long j=0;j<A[i].second.size();j++) {
~^~~~~~~~~~~~~~~~~~~
printer.cpp:34:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long j=idx;j<A[i].second.size();j++)
~^~~~~~~~~~~~~~~~~~~
printer.cpp:37:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<char>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n" , v.size());
~~~~~~~~^
printer.cpp:38:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long i=0;i<v.size();i++)
~^~~~~~~~~
printer.cpp:9:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
~~~~~^~~~~~~~~~~
printer.cpp:11:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s" , s[i]);
~~~~~^~~~~~~~~~~~~