Submission #191218

#TimeUsernameProblemLanguageResultExecution timeMemory
191218urd05Arranging Shoes (IOI19_shoes)C++14
Compilation error
0 ms0 KiB
#include <shoes.h> int count_swaps(int[] S) { return S[0]<0?0:1; }

Compilation message (stderr)

shoes.cpp:3:23: error: expected ',' or '...' before 'S'
 int count_swaps(int[] S) {
                       ^
shoes.cpp: In function 'int count_swaps(int*)':
shoes.cpp:4:10: error: 'S' was not declared in this scope
   return S[0]<0?0:1;
          ^