#include <algorithm>
#include <functional>
#include <vector>

template <typename T>
bool any_empty(const std::vector<std::vector<T>> vecs) {
  return std::any_of(vecs.begin(), vecs.end(), 
      std::bind(&std::vector<T>::empty, std::placeholders::_1));
}

int main() {
	std::vector<std::vector<int>> vecs;
	any_empty(vecs);
	return 0;
}