(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

Submission #1104176

#TimeUsernameProblemLanguageResultExecution timeMemory
1104176Tarela4kaMemory (IOI10_memory)C++17
100 / 100
2 ms508 KiB
#include <iostream> #include <vector> #include <cmath> #include <algorithm> #include <string> #include <map> #include <set> using namespace std; int faceup(int i); void play(){ vector<char> let(51, '*'); for(int i = 1; i <= 50; i++) let[i] = faceup(i); set<char> s; for(int i = 1; i <= 50; i++){ if (s.find(let[i]) == s.end()){ for(int j = 1; j <= 50; j++){ if (let[i] == let[j] && i != j) { faceup(i); faceup(j); s.insert(let[i]); } } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...