# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
717679 | VMaksimoski008 | Memory (IOI10_memory) | C++14 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
include "grader.h"
#include "memory.h"
#include <set>
void play() {
int candies = 0;
std::map<char, int> mapa;
for(int i=1; i<=50; i++)
{
char ch = faceup(i);
mapa[ch]++;
if(mapa[ch] == 2)
candies++:
if(candies == 25)
return ;
}
}