Submission #372543

#TimeUsernameProblemLanguageResultExecution timeMemory
372543Christopher_RdzMemory (IOI10_memory)C++17
0 / 100
1 ms256 KiB
#include "grader.h" #include "memory.h" int cubeta[102]; void play() { char a, b; for (int i = 1; i <= 50; i++){ a = faceup(i); if (cubeta[(int)a] != 0){ b = faceup(cubeta[(int)a]); }else{ cubeta[int(a)] = i; } } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:7:12: warning: variable 'b' set but not used [-Wunused-but-set-variable]
    7 |    char a, b;
      |            ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...