제출 #784216

#제출 시각아이디문제언어결과실행 시간메모리
784216HD1Arranging Shoes (IOI19_shoes)C++14
컴파일 에러
0 ms0 KiB
//we are all lost trying to be someone.
#include "shoes.h"
#include <bits/stdc++.h>
#define fastio ios_base::sync_with_stdio(0); cin.tie(0);
#define sz(x) ll(x.size())
#define reve(x) reverse(x.begin(),x.end())
#define ff first
#define ss second
#define pb push_back
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<ll,ll> ii;
typedef pair<ll, ii >tri;
const ll MAX=1e7+100;
const ll mod=1e9+7;
const ll inf=1e9;
int64 count_swaps(int[] S){
    if(S[0]<S[1]) return 0;
    else return 1;
}

컴파일 시 표준 에러 (stderr) 메시지

shoes.cpp:18:1: error: 'int64' does not name a type; did you mean 'int64_t'?
   18 | int64 count_swaps(int[] S){
      | ^~~~~
      | int64_t