Submission #717670

#TimeUsernameProblemLanguageResultExecution timeMemory
717670VMaksimoski008Memory (IOI10_memory)C++14
0 / 100
1 ms208 KiB
#include "grader.h" #include "memory.h" #include <set> void play() { int candies = 0; char ch; std::set<char> used; for(int i=1; i<=50; i++) { ch = faceup(i); if(used.find(ch) == used.end()) used.insert(ch); if(used.find(ch) != used.end()) candies++; if(candies == 25) return ; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...