Submission #372537

#TimeUsernameProblemLanguageResultExecution timeMemory
372537Christopher_RdzMemory (IOI10_memory)C++17
Compilation error
0 ms0 KiB
#include "grader.h"
#include "memory.h"

void play() {
   char a, b;
   for (int i = 1; i <= 49; i++){
       for (int j = i + 1; j <= 50; j++){
           a = faceup(i);
           b = faceup(j)
       }
   }
}

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:9:25: error: expected ';' before '}' token
    9 |            b = faceup(j)
      |                         ^
      |                         ;
   10 |        }
      |        ~