Submission #390890

#TimeUsernameProblemLanguageResultExecution timeMemory
390890SortingMemory (IOI10_memory)C++17
Compilation error
0 ms0 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespcae std; const int N = 50; void play() { int a[N + 1]; for(int i = 1; i <= N; ++i) a[i] = faceup(i); for(int i = 1; i <= N; ++i){ for(int j = i + 1; j <= N; ++j){ if(a[i] == a[j]){ faceup(i); faceup(j); } } } }

Compilation message (stderr)

memory.cpp:5:7: error: expected nested-name-specifier before 'namespcae'
    5 | using namespcae std;
      |       ^~~~~~~~~