# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1128067 | Elwino008 | Memory (IOI10_memory) | C++20 | 1 ms | 408 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; i++){
if(i!=j and cards[j]==cards[i]){
faceup(j);
}
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |