Submission #1317135

#TimeUsernameProblemLanguageResultExecution timeMemory
1317135belmostefaArranging Shoes (IOI19_shoes)C++20
Compilation error
0 ms0 KiB
int64_t count_swaps(int s[]){ if(s[0]<0){ return 0; }else{ return 1; } }

Compilation message (stderr)

shoes.cpp:1:1: error: 'int64_t' does not name a type
    1 | int64_t count_swaps(int s[]){
      | ^~~~~~~
shoes.cpp:1:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  +++ |+#include <cstdint>
    1 | int64_t count_swaps(int s[]){