#include #include typedef long long int ln; void run(void){ int w,h,n; scanf("%d%d%d",&w,&h,&n); char *kind; kind=(char *)calloc(w+1,sizeof(char)); char *number; number=(char *)calloc(h+1,sizeof(char)); int i; for(i=0;i