fork download
  1. #include <iostream>
  2. using namespace std;
  3. struct Puzz {
  4. int Ans;
  5.  
  6. bool IsClue;
  7. };
  8. // I chose a 2D array so represent the 9 rows and columns of a sudoku puzzle
  9. class PuzzHolder {
  10.  
  11. PuzzHolder() : Puzzle{
  12. { {8, true}, {9, false} },
  13. { {10, true}, {11, false} }
  14. } {
  15.  
  16. }
  17.  
  18. Puzz Puzzle[2][2];
  19. };
  20.  
  21. int main() {
  22.  
  23. Puzz Puzzle[2][2] = {
  24. { {8, true}, {9, false} },
  25. { {10, true}, {11, false} }
  26. };
  27.  
  28. // your code goes here
  29. return 0;
  30. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty