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

#TimeUsernameProblemLanguageResultExecution timeMemory
343867lebasivillarMemory (IOI10_memory)C11
100 / 100
3 ms384 KiB
#include "memory.h" #include "grader.h" #include <stdio.h> #include <stdlib.h> void play() { int index[50][2]; int lt, k; int i; char r; for (lt = 0; lt < 25; ++lt) { for (k = 0; k < 2; ++k) { index[lt][k] = 0; } } for (i = 1; i <= 50; ++i) { r = faceup(i); lt = (int)(r) -(int)('A'); k = (index[lt][0]) ? 1 : 0; index[lt][k] = i; } for (lt = 0; lt < 25; ++lt) { faceup( index[lt][0] ); faceup( index[lt][1] ); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...