답안 #147681

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
147681 2019-08-30T11:50:16 Z Cafe Maru(#3653, bryan) 체스판 네모네모로직 (FXCUP4_nonogram) C++17
25 / 100
6 ms 512 KB
#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});
}
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 384 KB Output is correct
2 Correct 6 ms 344 KB Output is correct
3 Correct 6 ms 512 KB Output is correct
4 Correct 6 ms 384 KB Output is correct
5 Correct 6 ms 384 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 384 KB Output is correct
2 Correct 6 ms 344 KB Output is correct
3 Correct 6 ms 512 KB Output is correct
4 Correct 6 ms 384 KB Output is correct
5 Correct 6 ms 384 KB Output is correct
6 Incorrect 5 ms 512 KB Output isn't correct
7 Halted 0 ms 0 KB -