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

#TimeUsernameProblemLanguageResultExecution timeMemory
232905ZexMemory (IOI10_memory)C++11
100 / 100
6 ms512 KiB
#include "grader.h" #include "memory.h" // #include <iostream> void play() { int IDX1[30] = {}; int IDX2[30] = {}; for(int i=1;i<=50;i++){ char ch = faceup(i); int x = ch - 'A'; if( !IDX1[x] ) IDX1[x] = i; else IDX2[x] = i; } for(int i=0;i<25;i++){ // std::cout << char( i+'A' ) << " : " << IDX1[i] << " " << IDX2[i] << '\n'; faceup( IDX1[i] ); faceup( IDX2[i] ); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...