]> ruin.nu Git - icfp05.git/blobdiff - bot/bot.cpp
reading evidence
[icfp05.git] / bot / bot.cpp
index dd516328979baf7ea150909a1c69d0f85f20f287..6a486025c77ef869315e0e4f86e971e56e91bf9c 100644 (file)
@@ -198,6 +198,11 @@ void Bot::updateWorld(){
                if (input == "ev/")
                        break;
                istringstream evidence(input);
+               int world;
+               evidence >> input;
+               evidence >> input;
+               evidence >> world;
+               _evidence[world] = input;
        }
        
        getline(cin,input);