Submission #143643

#TimeUsernameProblemLanguageResultExecution timeMemory
143643ignaciocantaArranging Shoes (IOI19_shoes)C++14
Compilation error
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; }

Compilation message (stderr)

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