#include #include #include #include "defs.h" template std::ostream& operator<<(std::ostream& os, const std::vector& x) noexcept { for (auto&& i : x) os << i << ", "; return os; } int main() { std::cout << LC230509::spiralOrder({ {2,3,4}, {5,6,7}, {8,9,10}, {11,12,13} }); return 0; }