leetcode-daily/cpp/2305/main.cpp

20 lines
370 B
C++

#include <cstdio>
#include <iostream>
#include <ostream>
#include <unordered_set>
#include <vector>
#include "defs.h"
template<typename T>
std::ostream& operator<<(std::ostream& os, const std::vector<T>& x) noexcept {
for (auto&& i : x)
os << i << ", ";
return os;
}
int main() {
std::cout << LC230511::maxUncrossedLines({1,3,7,1,7,5},{1,9,2,5,1});
return 0;
}