Submission #1128075

#TimeUsernameProblemLanguageResultExecution timeMemory
1128075Elwino008Memory (IOI10_memory)C++20
100 / 100
1 ms412 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; map<int, int>used; void play() { char cards[60]; for(int i=1; i<=50; i++){ char c=faceup(i); cards[i]=c; } for(int i=1; i<=50; i++){ if(used[cards[i]]==0){ used[cards[i]]=1; char qwe=faceup(i); for(int j=1; j<=50; j++){ if(i!=j and cards[j]==cards[i]){ faceup(j); } } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...