diff --git a/src/week4/BOJ14391/BOJ14391_V1.cpp b/src/week4/BOJ14391/BOJ14391_V1.cpp new file mode 100644 index 0000000..906cda2 --- /dev/null +++ b/src/week4/BOJ14391/BOJ14391_V1.cpp @@ -0,0 +1,75 @@ +#include +using namespace std; +int N,M; +bool selected[16]; +int arr[4][4]; +int ret = INT_MIN; +int calculate() { + int sum = 0; + for (int i=0; i> N >> M; + + for (int i = 0; i < N; i++) { + string s; + cin >> s; + for (int j = 0; j < M; j++) { + arr[i][j] = s[j] - '0'; + } + } + + dfs(0); + + cout << ret << '\n'; + return 0; +} \ No newline at end of file