diff --git a/11 - Mayor producto en cuadricula/p11 b/11 - Mayor producto en cuadricula/p11 index 4fcba344f6952cc1ff7fe29e89939270411df943..5b50848623fe11843f53240176fb4264b591e9d3 100755 GIT binary patch delta 3962 zcmZu!4Qx}_6~6cR@7a#+_v{2a0T!E|jt*icAp}}Na43f75FpinQYJ=1$d4HWlh_QV z4I3HSWsHe%J0{xwgo$kxqKLJqW2h>jWCJD*g-O#krb&UqdYNmsK>rG7OayaK`+V9(Gkp@S~n=b$Uf8-}dWVN%0>P1$t+&Vd`}>)ISI|Lvo{ zYqjqm+WF~${TQ7;Y_~T;89OQY*#uvAG8BSL@9@fK4hJ*j(`66{5D75jmC z=DID_;p*@L7)F90(ql}bEh{RjzoTX+kXZxR@aMXbT%&qRgQ28hT3 z_t7Tc6MHpJz%ATUXB#KrJki3|G69Eajgyx9r>q^eWF8d-iFRl(WyvoFo0c1rujoF7 z1^)(9VfKCCp7JQPQ13$H=tu!*_CHX^w2lsQ{SNB5hS5Q;-$EVdK6;Mpe?Z-g`T*B| z2YRLp7cqJifT|DUeK)_V_1)2OcgLF7#jg&YlcPktdO6C))#KJE$^Qx*?{|30mlJX! z14~=4RqO?!)XkUBP#6K{gAjs{%~v{*!iN4X+O6xg1OM9VWnZz) zny>qN%F&ZY$Sw)N6iHfL4`b)MA@t_oTHFB9kFQ`#E-CCyTOE673)qhw8opmBTpX5J zg}kV8Ow)C(FP0zuF~rsm$MT-HNnJ4IG@6cdw{|2pto2>ZZ(!e-=e?jiq^-HwL;8X9 zYV09SIv0CDb+;G{8XLZd`F$5H*zxU0g~A6VFe2ERsn)lCOgp?D#_@hz(Q>go#aJw0 zUtWC;Qpi)2uYoSP*a*#iYs9zz@+Ak1lyBzPUBK@8_MhT@*V%}D_B2}%5`3iMb&y|f zdiq|~U$x7ROt^FMKYI99$l7zgJ(V|6ut>^+Ji!&38eSaLg5t1cm7)_41t{Y zS)owG(w>?08av^MSmuC#lKtK@Gt>b+Uc+6~;8tFeo^x4E$7zvG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c<4A4HF^DM z`agism+rsbPX--(-Hz5TC #include #include -#include - using namespace std; #define SIZE_X 20 #define SIZE_Y 20 +#define SIZE_MAX_NUMBER 2 int main(int argc, char const *argv[]) { @@ -49,13 +46,11 @@ int main(int argc, char const *argv[]) int y; int grid[SIZE_X][SIZE_Y] = {0}; - char buffer[4]; + char buffer[SIZE_MAX_NUMBER]; char *ptrBuffer; char *ptrNumeros; char numeros[] = "08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08\n49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00\n81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65\n52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91\n22 31 16 71 51 67 63 89 41 92 36 54 22 40 40 28 66 33 13 80\n24 47 32 60 99 03 45 02 44 75 33 53 78 36 84 20 35 17 12 50\n32 98 81 28 64 23 67 10 26 38 40 67 59 54 70 66 18 38 64 70\n67 26 20 68 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21\n24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72\n21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95\n78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92\n16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57\n86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58\n19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40\n04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66\n88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69\n04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36\n20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16\n20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54\n01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48\n\0"; - //char debug; - x = y = 0; ptrBuffer = buffer; ptrNumeros = numeros; @@ -76,15 +71,10 @@ int main(int argc, char const *argv[]) } ptrBuffer = buffer; - memset(buffer,'\0',4); - - } - else - { - - *ptrBuffer++ = *ptrNumeros; + memset(buffer,'\0',SIZE_MAX_NUMBER); } + else { *ptrBuffer++ = *ptrNumeros; } ptrNumeros++; }