25 lines
527 B
C++
25 lines
527 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 << LC230508CN::minPushBox(
|
|
{{'#','.','.','#','#','#','#','#'},
|
|
{'#','.','.','T','#','.','.','#'},
|
|
{'#','.','.','.','#','B','.','#'},
|
|
{'#','.','.','.','.','.','.','#'},
|
|
{'#','.','.','.','#','.','S','#'},
|
|
{'#','.','.','#','#','#','#','#'}}
|
|
);
|
|
return 0;
|
|
}
|