https://www.acmicpc.net/problem/20920제출코드#include #include #include #include using namespace std;bool comp(pair &a, pair &b){ if (a.second == b.second) { if (a.first.length() == b.first.length()) return a.first b.first.length(); } return a.second > b.second;}int main(){ ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); map words; int n, m; str..