제출 #418866

#제출 시각아이디문제언어결과실행 시간메모리
418866FlippenFazArranging Shoes (IOI19_shoes)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "shoes.h" using namespace std; typedef long long ll ll count_swaps(vector<int> s) { if (s[0] == -1) { return 0; } else { return 1; } }

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

shoes.cpp:7:1: error: expected initializer before 'll'
    7 | ll count_swaps(vector<int> s) {
      | ^~