#include <stdio.h> /*int main() { int hash[11111112]={}; int n; scanf("%d",&n); while(n--){ int index,val; scanf("%d %d",&index,&val); hash[index]+=val; } for(int i=0;i<11111112;i++){ if(hash[i]!=0){ printf("%d %d\n",i,has...