This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "nonogram.h"
std::vector<std::vector<int>> SolveNonogram(int N, int M, std::vector<std::vector<int>> Rclue, std::vector<std::vector<int>> Cclue) {
std::vector<int> row;
for (int i = 0; i < M; i++) {
if (Cclue[i].size() == 0) {
row.push_back(0);
} else {
row.push_back(1);
}
}
return std::vector<std::vector<int>>({row});
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |