(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 #411426

#TimeUsernameProblemLanguageResultExecution timeMemory
411426alextodoranMemory (IOI10_memory)C++17
100 / 100
3 ms336 KiB
/** ____ ____ ____ ____ ____ ||a |||t |||o |||d |||o || ||__|||__|||__|||__|||__|| |/__\|/__\|/__\|/__\|/__\| **/ #include <bits/stdc++.h> #include "grader.h" #include "memory.h" using namespace std; typedef long long ll; void play () { int p[25]; int cards[50]; for(int i = 0; i < 50; i++) { cards[i] = faceup(i + 1) - 'A'; p[cards[i]] = i; } for(int i = 0; i < 50; i++) if(i != p[cards[i]]) { faceup(i + 1); faceup(p[cards[i]] + 1); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...