제출 #1317134

#제출 시각아이디문제언어결과실행 시간메모리
1317134belmostefaArranging Shoes (IOI19_shoes)C++20
컴파일 에러
0 ms0 KiB
int64_t count_swaps(int s[]){ if(s[0]<0){ return 0; }else{ return 1; } }

컴파일 시 표준 에러 (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[]){