제출 #143643

#제출 시각아이디문제언어결과실행 시간메모리
143643ignaciocantaArranging Shoes (IOI19_shoes)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; #define forsn(i, s, n) for(int i=s;i<int(n);i++) #define forn(i, n) forsn(i, 0, n) #define all(v) v.begin(), v.end() typedef long long tint; const int INF = 111000; int64 count_swaps(int[] S){ int n = S.size(); int cont = 0; forn(i, n){ if(S[i] < 0) cont++; } return cont; }

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

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