diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 3606497c..00000000 Binary files a/.DS_Store and /dev/null differ diff --git a/solutions/.DS_Store b/solutions/.DS_Store deleted file mode 100644 index cce2b293..00000000 Binary files a/solutions/.DS_Store and /dev/null differ diff --git a/solutions/punched_cards/punchedCardsREG.js b/solutions/punched_cards/punchedCardsREG.js deleted file mode 100644 index f339c6f8..00000000 --- a/solutions/punched_cards/punchedCardsREG.js +++ /dev/null @@ -1,77 +0,0 @@ -'use strict'; - -process.stdin.resume(); -process.stdin.setEncoding('utf-8'); - -let inputString = ''; -let currentLine = 0; - -process.stdin.on('data', inputStdin => { - inputString += inputStdin; -}); - -process.stdin.on('end', _ => { - inputString = inputString.trim().split('\n').map(string => { - return string.trim(); - }); - - main(); -}); - -function readline() { - return inputString[currentLine++]; -} - -// Make a Snippet for the code above this and then write your logic in main(); - -const draw = (row, col) => { - let rowN = ''; - for (let r=0; r parseInt(x)); - row = (row*2) +1; - col = (col*2) +1; - - // Compute the value of the sum modulo M. - let drawing = draw(row, col); - - // Print the result onto the standard output. - process.stdout.write(drawing); -} - -function main() { - // Declare and read the number of test cases. - var T; - T = parseInt(readline()); - - // Loop over the number of test cases. - for (var test_no = 1; test_no <= T; test_no++) { - process.stdout.write('Case #' + test_no + ': \n'); - solve(); - } -} -