제출 #147389

#제출 시각아이디문제언어결과실행 시간메모리
147389mosiashvililukaArranging Shoes (IOI19_shoes)C++14
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h> using namespace std; long long a,b,c,d,e,f[200009]; int64 count_swaps(int[] S){ for(a=1; ; a++) if(S[a-1]==0) break; for(b=1; b<=a; b++) f[b]=S[b-1]; if(f[1]<0) return 0; else return 1; }

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

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