/in/foo.cc: In member function 'Matrix Matrix::clear()':
/in/foo.cc:61:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In member function 'Matrix Matrix::display()':
/in/foo.cc:80:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:101:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%d%d%d",&n,&k,&p);
~~ ^
/in/foo.cc:101:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
/in/foo.cc:101:25: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]
/in/foo.cc:156:27: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp=pow(tmp,maa,n-len[e]);
~~~~~^