From 3a97782dfb091765698d16fddcab27010aa9627b Mon Sep 17 00:00:00 2001 From: Dayra Chiu Date: Wed, 21 Dec 2022 16:45:08 -0600 Subject: [PATCH] Revert "punched cards solution (#412)" This reverts commit b2d002859953381fe3b05c8d33156f4745a3324f. --- .DS_Store | Bin 6148 -> 0 bytes solutions/.DS_Store | Bin 8196 -> 0 bytes solutions/punched_cards/punchedCardsREG.js | 77 --------------------- 3 files changed, 77 deletions(-) delete mode 100644 .DS_Store delete mode 100644 solutions/.DS_Store delete mode 100644 solutions/punched_cards/punchedCardsREG.js diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 3606497c6ecec528cda605184796a5abdfdce8c7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKO>5gg5S?|LS|SvDXd#!vLarvY(_#p{D2{yyq&Y;PJ+#5KD$|N8+F;4`!5DN- zeoU_UCHXte+Yg5tHRP1ih8dWBv%B+l(OYR(OGKhKjXOk5BJ$uGYd(rUnC{nJv6^dH z2MROB5rs53NY&RUtz>hv-y9OQ70qxU(ep^2kp+~eGAR zHl0yySNx7~Rbk|$D5WVClpx9|UuB3_4>O`!ejcS}j_c?=P4c4Mz7e&x`uekm*YGyH z)9|~Rg~h0t=DpG6ldhd8l}5{W6n#j>vtjeazRHSGl8q;Zki=u8eEyhZv6}VNG>db? z4Q+?#d;YMwIiGiScUrR3?Jin!zPrCct=5Cj$-8Mqj(c;4DC_}z`$W?5iKzO5il}v!3z9U1#SUpmUH_6 diff --git a/solutions/.DS_Store b/solutions/.DS_Store deleted file mode 100644 index cce2b2935b0cb677bab44b9a4a7f360f6640c095..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHML2uJA6n^doOVxE0X`q3G6p8B!+dz{hE~ShESBl^Os3c9;!m_wZ+Ep-3>KXn6 ze}OB11pW&r_}+6il5|5zNNCdRDt?arzGwS;&(7=-k?M|vb)pp_a`3QhHISW>xSgMw zRLg6YArUfO4DkNo z;$hjz<1p+NG2Z3q6hQkO z?MW{wc@_On75zon^q{*7l$QB%S<|F~`%%HwF?WqIaXthhq_m8v@eN0jiJRylL2sN# zU?2pVdm5v6E^D;4VT*4^2FUkNTj8hntzz>!_%!zRVaIUGSiWOP#Tv67plv{-^7zD4 zp9`L9Lep3?W8x9z?-e9_sffG*%>!ltGl}Q}O2N!b+L#^3&=9{FuEdK)i%n>ag$HIf zpuRAYqEul-u|NM3=})p@9;sjbVH{s5L8F^6>rUHn95Gt=;L`k40T|G{MOt3xE;MARZzqN9BxW2Wq z>aK5Y9<92ETN`Vu?)`h4M@Mz%+U>g!p7!_R{X~DnY>-s`5u>JgKgoHvf8gezmnN}J zIP%y+6CMdqJi{?Ifu~Mmk)ylF;#GLk6J%S~E@Rmr(Qj+zn2=~MT4=!nukr*w;|Se> z1&$Kl3uL8L@EqAi{G#A_wA}YVBwIQqiq%pfiW{)M1wsH+r8~BEFAw?QZ>eBZ5PiQJe*i>YNSAr$#EP~j^mIg|1d<^g(_n@xttn_ T8l?Yz5n#Xn!n@5bHUqx^jcACb 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(); - } -} -