18 lines
315 B
C++
18 lines
315 B
C++
#include <iostream>
|
|
#include <ostream>
|
|
#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 << LC230506CN::minNumberOfFrogs("crcoakroak");
|
|
return 0;
|
|
}
|