SmartCoder's blog

By SmartCoder, 13 years ago, In English
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";
    }
  • Vote: I like it
  • 0
  • Vote: I do not like it

13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I think all negatives for previous post from  real madrid fans but i told you i'm one of real madrid fans but i tell the truth  :)