Dictionaries and Maps
Dictionaries and Maps: problems link : Dictionaries and Maps code: #include<stdio.h> #include<stdlib.h> #include<string.h> int main() { char ins[100000][50],inc[50]; int intp[100000]; int i,j,n; scanf("%d",&n); for(i=0;i<n;i++) scanf("%s %d%*c",ins[i],&intp[i]); for(i=0;i<n;i++) { scanf("%s%*c",inc); for(j=0;j<n;j++) { if(strcmp(ins[j],inc)==0) { printf("%s=%d\n",inc,intp[j]); ...