#include<iostream> #include<map> #include<string> using namespace std; int main(){ string str, magicName, function; map<string, string>myMap1, myMap2; while(getline(cin,str)){ if(str=="@END@") break; int pos = str.find("]"); ...