i'm one of real madrid fans :)
i run this algorithm on the last match the result was "Draw"
so i think my algorithm is true :)
#include<barcelona >
#include<real madrid >
using namespace std;
string getResult(vector<string> barcelona, vector<string> realmadrid)
{
try
{
if (((barcelona).find("messi") != (barcelona).end()))
{
return "barcelona";
}
else
{
return "barcelona";
}
}
catch (Exception e)
{
cout << "Draw" << endl;
}
return "realmadrid";
}