quine golf: smaller garbage; 4190B

This commit is contained in:
Crispy 2024-08-12 22:45:47 +02:00
parent a2a9dcf292
commit 5408b7d6e6
3 changed files with 14 additions and 19 deletions

View file

@ -1,17 +1,12 @@
Shader"S"{SubShader{Pass{CGPROGRAM#pragma vertex a Shader"S"{SubShader{Pass{CGPROGRAM#pragma vertex a
#pragma fragment f #pragma fragment f
#include"UnityCG.cginc" #include"UnityCG.cginc"
#define g const uint
struct A{float4 v:POSITION;float2 u:TEXCOORD0;UNITY_VERTEX_INPUT_INSTANCE_ID};struct V{float2 u:TEXCOORD0;float4 v:SV_POSITION;UNITY_VERTEX_OUTPUT_STEREO};V a(A v){V o;UNITY_SETUP_INSTANCE_ID(v);UNITY_INITIALIZE_OUTPUT(V,o);UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);o.v=UnityObjectToClipPos(v.v);o.u=v.u;return o;}float3 f(V U):SV_Target{ struct A{float4 v:POSITION;float2 u:TEXCOORD0;UNITY_VERTEX_INPUT_INSTANCE_ID};struct V{float2 u:TEXCOORD0;float4 v:SV_POSITION;UNITY_VERTEX_OUTPUT_STEREO};V a(A v){V o;UNITY_SETUP_INSTANCE_ID(v);UNITY_INITIALIZE_OUTPUT(V,o);UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);o.v=UnityObjectToClipPos(v.v);o.u=v.u;return o;}float3 f(V U):SV_Target{
g t[]={0x2f00576f,0x33f2c1f7,0x2f1fb204,0x1b49dda7,0x3d618237,0x42c83a2e,0x4541a121,0x53a72e14,0x1adea1c5,0x5d3cd90b,0x603c289b,0x568d5310,0x339e664f,0x62d0e527,0x51d53c3a,0x3b06de0b,0x62ec13db,0x45bce019,0x620fc251,0x22a4ccf8,0x24a26b0d,0x718915e0,0x3bdc4407,0x40a4f48d,0x5cc90e40,0x67f27ee5,0x0125aeee,0x2fded81e,0x7ba20d4e,0x1c042b18,0x7442f4ab,0x4a2b45e1,0x7dd7e131,0x8802215d,0x793c7eb0,0x7ad99288,0x76b88a6f,0x7aea15b0,0x85a02346,0x3401d0e0,0x8bde4d4e,0x1c042b18,0x7442f4ab,0x4a2b45e1,0x7d04286b,0x5ced1bbf,0x3025cfee,0x2fded81e,0x7ba4b2d0,0x79543a04,0x4850f4c8,0x4a92c0fb,0x79586a84,0x48664053,0x8b2a258f,0x0126f369,0x016c68a2,0x76b44093,0x80770b08,0x76b88a6f,0x7aea15b0,0x85a69ff3,0x6a865f87,0x8a33f131,0x7628343e,0x80ac7ba1,0x3e5dcba9,0x2d5f4c1b,0x7b8dda68,0x76bb5f80,0x4d905394,0x8a7a6d41,0x8097918b,0x78689288,0x2fe6ed44,0x4b0f80f3,0x71b140db,0x62ec13de,0x1f417b36,0x790b1049,0x53c9d65b,0x5bb83ff3,0x71affbd5,0x6e9d819f,0x5d839980,0x71e21f2a,0x70a7a740,0x28e2812b,0x93ed1d08,0x77f907ff,0x5d7d89f0,0x5ec855c7,0x8f2c49f0,0x1f38af31,0x7db71b1d,0xa0bace31,0x2c09d597,0x11380439,0x11567fa3,0x078a46a6,0x18f704f9,0x0278ea52,0x0ec5bfe2,0x13a80a31,0x029202a1,0x1640018a,0x2c09d547,0x0299d487,0x0c4506d3,0x2c295f51,0x18a164a3,0x0772bee4,0x0cc20591,0x07740432,0x161234d7,0x11464721,0x2c295f52,0x13c702a5,0x078a7858,0x0cc20452,0x0782ada2,0x09ecd2a5,0x13989af4,0x18f6d259,0x163f6c32,0x112ea262,0x09e40b23,0x02fe1df7,0x07a20162,0x0ebe5342,0x13bf2df2,0x0c65a2a4,0x09dc0662,0x1146c387,0x163172a5,0x13a02095,0x11a46a35,0x077a2c32,0x05112ce6,0x02b804a3,0x07919b3a,0x1414d4d8,0x09dc0924,0x2c01d3e2,0x07998262,0x09e372f7,0x13a902a3,0x1881d4a8,0x0cc1d2aa,0x0ec703e3,0x16123483,0x13c702a9,0x114de398,0x0cc26997,0x0f32d255,0x18a11552,0x09e421f7,0x2c40e992,0x111f84a6,0x1155fdf7,0x2c01ede2,0x075b7fa2,0x1685d342,0x075aeea2,0x0c7b83e4,0x13b0d343,0x113e42a6,0x11a3d4d5,0x13909856,0x2c0204a3,0x0299d2a6,0x13bf9333,0x0a50d4d2,0x0ee57a56,0x2c11a4aa,0x02b07fa2,0x16193b43,0x075c9342,0x2c028291,0x02a0c162,0x076aed57,0x0c4e3393,0x11279be7,0x2c198f35,0x1871eea2,0x02b79c92,0x0f32d3ea,0x18920bea,0x2c19a923,0x027a9392,0x18b0e837,0x2c11748a,0x0ed57ba4,0x07630548,0x18f70543,0x02bfd4a2,0x0c647747,0x2c30b439,0x2c09bc47,0x0ecdc4a8,0x07a1b7e2,0x18739393,0x111fcb43,0x2c40b881,0x0ef470a3,0x0c5ca8d5,0x0c6430a3,0x114e1456,0x8f2c442a,0x70a7a6f0,0x54f27128,0xa3ca5617,0x3bdc43e0,0x204da6d7,0x2d9641cd,0x2b14e2d2,0x6f39c80f,0x837e0535,0xaa28a0f7,0x10384be0,0x915239bc,0xaf85c784,0x09f356d7,0x5fa2c999,0xa8d8b2d2,0x0671c8bd,0xafe6bc7d,0xb1fb1004,0x065288ef,0x04f10aa9,0x748fba8b,0x66354f0b,0x04f82826,0x91d8cdcb,0x90774e2c,0xad9b6f03,0x0e10afa6,0x948f8217,0x8e13522f,0x396e20eb,0x663d1f03,0x079a4b73,0x5fa2c321,0x66639ad3,0x28797f99,0xb425d619,0xaff41814,0xa7da1caf,0x1605cf59,0x9a15792a,0x60eae992,0x6f3b8e6c,0xa3cebbcf,0x91190a95,0x83404d63,0x5fdc92f8,0x347d8951,0x21c78c1b,0x837db3f6,0x94a6f72b,0x839828f3,0x610143d6,0x42cb7c5a,}; const uint t[]={0x2f00576f,0x33f2c1f7,0x2f1fb204,0x1b49dda7,0x3d618237,0x42c83a2e,0x4541a121,0x53a72e14,0x1adea1c5,0x5d3cd90b,0x603c289b,0x568d5310,0x339e664f,0x62d0e527,0x51d53c3a,0x3b06de0b,0x62ec13db,0x45bce019,0x620fc24a,0x5d6c6c36,0x00f4742a,0x70a7a790,0x5bc6aa73,0x76b38992,0x7d04286b,0x5cdd77af,0x793c758e,0x4a25d683,0x6a865f87,0x8a7a6d41,0x80979732,0x3e5dcab0,0x7aab42e2,0x4386c736,0x8f2b05f5,0x3b014639,0x38a8286b,0x5cdd77af,0x793c758e,0x4a25d683,0x285ca196,0x0c38abc3,0x8ce0fa73,0x76b38992,0x7dd7e131,0x8802215d,0x793c7e9e,0x6a7c4ea1,0x8951495d,0x7fe41a29,0x005bbcb0,0x5c2c10d0,0x71e0b2d0,0x79542e24,0x78f372b0,0x7aab42e2,0x4386c736,0x9131fc1b,0x7b8dda68,0x76bb5f80,0x4d905394,0x89a6a269,0x6a7fa4e2,0x7227c8a2,0x76b440b0,0x7b8dd81f,0x966a1e78,0x8cc22484,0x831d7ba1,0x3e5dca93,0x793a255e,0x91784c1e,0x6f044498,0x6546356c,0x9cb68111,0x712516f2,0x3e72fc95,0x6f03fc1e,0x6e9eb2bd,0x3c2881d6,0x3b3ff82e,0x7e49bd4e,0x1c044410,0x91c85dac,0x735912b1,0x1b827fd6,0x39590388,0x40a2e7a9,0x62d0ec21,0xa3108153,0x5fa11a9a,0x5cc864f8,0x5cc8e992,0x9a82cea3,0x09ebc134,0x2c299338,0x18f6ebf7,0x0eb63932,0x09dc5151,0x029203e4,0x0c7d1484,0x13bec954,0x2c01bbd9,0x11567fa3,0x09e3ef55,0x2c313092,0x0a0aa0a7,0x111eec27,0x11a3ebf4,0x0c6445a2,0x09eb29f4,0x2c28e4d3,0x2c390136,0x0a123ea7,0x111f0488,0x0cc21df7,0x139099a2,0x09cc02f6,0x1414d345,0x2c021f82,0x1881d732,0x04eab3d9,0x02c0e433,0x04eb9344,0x13d66b62,0x0c4d1ffa,0x160293e3,0x16317487,0x0c4ca396,0x2c020543,0x0eaf9436,0x163831d7,0x2c021f83,0x113e8f42,0x13bf2df5,0x02c0e2a6,0x07827659,0x11a3ebf8,0x02a8ac92,0x05291943,0x0ef489a2,0x051112f9,0x04eb9344,0x04fa2184,0x2c01ee23,0x09d469a2,0x04f29be4,0x2c212dd3,0x2c30cd88,0x0cc28337,0x0509d9a2,0x13afc0f2,0x04ea5027,0x09e50344,0x161124aa,0x13af4431,0x11a43838,0x0c4d24a2,0x079b12f1,0x1126d4e2,0x050172f1,0x02fdd399,0x05114685,0x2c118d35,0x04f23842,0x0528cf81,0x13906ba2,0x09d3eb55,0x2c023887,0x162ffc52,0x052883e8,0x18726ba4,0x09d49a58,0x18f6d4d4,0x18898bf1,0x2c1177a2,0x16202956,0x160292f3,0x0c3d8093,0x2c195d32,0x189994a5,0x0c6c3021,0x02fdd259,0x077a43f2,0x0511dd25,0x1899dfa5,0x0ef46b51,0x2c194529,0x0edd64a4,0x05217be6,0x0f3304f2,0x09e40b32,0x09e38b5a,0x11a3d396,0x0ec5f4a8,0x051996a3,0x0772f0e5,0x11a468fa,0x0ed51521,0x2c195d31,0x188990aa,0x0ee49aea,0x07dfec95,0x0eecce96,0x07dfed37,0x09cc7853,0x5fb8286b,0x5cdd7adf,0x6a5cfcf7,0x1036d4f8,0x5cc731ad,0x2d342342,0x83549021,0x7e36e1cd,0x6cfe84e5,0xa7d1a0d5,0x88224d36,0x7ce6e895,0x178b4be0,0x915239bc,0xaf85c784,0x09e36bd7,0x5fa2c999,0xa8d8b2d2,0x0671c8bd,0xafe6bc7d,0xb1fb1004,0x065288ef,0x04f10aa9,0x748fba8b,0x66354f0b,0x04f82826,0x91d8cdcb,0x90774e2c,0xad9b6f03,0x0e10afa6,0x948f8217,0x8e13522f,0x396e20eb,0x663d1f03,0x079a3223,0x5fa2c321,0x66639ad3,0x28797f99,0xb425d619,0xaff41814,0xa7da1caf,0x1605cf59,0x9a15792a,0x60eae992,0x6f3b8e6c,0xa3cebbcf,0x91190a95,0x83404d63,0x33bded95,0x61aae95d,0xa34bc8a5,0xa7b83d1c,0xad6d3da5,0xaffccc2a,0x807fee8c,0x8f64ca00,};
g b=460; const uint R[]={0,234663,68679,2265159,3280003,5348,7376003,1088679,233604,7641382,6600966,2234534,34023,6182,8665390,6601774,4267074,301257,134,14719239,1088809,6210,337920,4262980,5286,7642145,133250,6587686,14726446,7642409,15255086,2270697,18732593,11512810,3312673,12923174,11953,5282,72774,8661474,7465,1049633,33826,9741606,567426,128,206118,131200,14815374,32641156,18470705,131204,15768623,18157905,3319079,18393220,31,18400580,2240642,4261956,4464900,1082415,15994959,459200,4198566,3179555,3213379,332096,145536,7168,2236546,72955190,4260932,9570592,244584452,266305};
g R[]={0,234663,68679,2265159,3280003,5348,7376003,1088679,233604,7641382,6600966,2234534,34023,6182,8665390,6601774,4267074,301257,134,14719239,1088809,6210,337920,4262980,5286,7642145,133250,6587686,14726446,7642409,15255086,2270697,18732593,11512810,3312673,12923174,11953,5282,72774,8661474,7465,1049633,33826,9741606,567426,128,206118,131200,14815374,32641156,18470705,131204,15768623,18157905,3319079,18393220,31,18400580,2240642,4261956,4464900,1082415,15994959,459200,4198566,3179555,3213379,332096,145536,7168,2236546,72955190,4260932,9570592,244584452,266305}; float2 p=U.u*65;uint b,c,i,Y,X=p.x;Y=p.y;i=X+(64-Y)*65;b=448;
float2 p=U.u*65; if(i>=b&&i<3330){
uint c,i,Y,X=p.x;Y=p.y;i=X+(64-Y)*65;
if(i>=b&&i<3353){
c=(i-b)%11;c=c<2?(c<<4)+1:c==10?18:(t[(i-b)/11]>>((7-((c-2)&7))*4)&15)+1; c=(i-b)%11;c=c<2?(c<<4)+1:c==10?18:(t[(i-b)/11]>>((7-((c-2)&7))*4)&15)+1;
}else{i-=(i>b)*2893; }else{i-=(i>b)*2882;
c=t[i/5];for(i%=5;i<4;i++)c/=80;c%=80;} c=t[i/5];for(i%=5;i<4;i++)c/=80;c%=80;}
Y=(p.y-Y)*6;X=(p.x-X)*6; Y=(p.y-Y)*6;X=(p.x-X)*6;return R[c]>>(X+Y*5)&1*(X<5);}ENDCG}}}
return R[c]>>(X+Y*5)&1*(X<5);
}ENDCG}}}

View file

@ -1,5 +1,5 @@
g t[]={0x2f00576f,0x33f2c1f7,0x2f1fb204,0x1b49dda7,0x3d618237,0x42c83a2e,0x4541a121,0x53a72e14,0x1adea1c5,0x5d3cd90b,0x603c289b,0x568d5310,0x339e664f,0x62d0e527,0x51d53c3a,0x3b06de0b,0x62ec13db,0x45bce019,0x620fc251,0x22a4ccf8,0x24a26b0d,0x718915e0,0x3bdc4407,0x40a4f48d,0x5cc90e40,0x67f27ee5,0x0125aeee,0x2fded81e,0x7ba20d4e,0x1c042b18,0x7442f4ab,0x4a2b45e1,0x7dd7e131,0x8802215d,0x793c7eb0,0x7ad99288,0x76b88a6f,0x7aea15b0,0x85a02346,0x3401d0e0,0x8bde4d4e,0x1c042b18,0x7442f4ab,0x4a2b45e1,0x7d04286b,0x5ced1bbf,0x3025cfee,0x2fded81e,0x7ba4b2d0,0x79543a04,0x4850f4c8,0x4a92c0fb,0x79586a84,0x48664053,0x8b2a258f,0x0126f369,0x016c68a2,0x76b44093,0x80770b08,0x76b88a6f,0x7aea15b0,0x85a69ff3,0x6a865f87,0x8a33f131,0x7628343e,0x80ac7ba1,0x3e5dcba9,0x2d5f4c1b,0x7b8dda68,0x76bb5f80,0x4d905394,0x8a7a6d41,0x8097918b,0x78689288,0x2fe6ed44,0x4b0f80f3,0x71b140db,0x62ec13de,0x1f417b36,0x790b1049,0x53c9d65b,0x5bb83ff3,0x71affbd5,0x6e9d819f,0x5d839980,0x71e21f2a,0x70a7a740,0x28e2812b,0x93ed1d08,0x77f907ff,0x5d7d89f0,0x5ec855c7,0x8f2c49f0,0x1f38af31,0x7db71b1d,0xa0bace31,0x2c09d597,0x11380439,0x11567fa3,0x078a46a6,0x18f704f9,0x0278ea52,0x0ec5bfe2,0x13a80a31,0x029202a1,0x1640018a,0x2c09d547,0x0299d487,0x0c4506d3,0x2c295f51,0x18a164a3,0x0772bee4,0x0cc20591,0x07740432,0x161234d7,0x11464721,0x2c295f52,0x13c702a5,0x078a7858,0x0cc20452,0x0782ada2,0x09ecd2a5,0x13989af4,0x18f6d259,0x163f6c32,0x112ea262,0x09e40b23,0x02fe1df7,0x07a20162,0x0ebe5342,0x13bf2df2,0x0c65a2a4,0x09dc0662,0x1146c387,0x163172a5,0x13a02095,0x11a46a35,0x077a2c32,0x05112ce6,0x02b804a3,0x07919b3a,0x1414d4d8,0x09dc0924,0x2c01d3e2,0x07998262,0x09e372f7,0x13a902a3,0x1881d4a8,0x0cc1d2aa,0x0ec703e3,0x16123483,0x13c702a9,0x114de398,0x0cc26997,0x0f32d255,0x18a11552,0x09e421f7,0x2c40e992,0x111f84a6,0x1155fdf7,0x2c01ede2,0x075b7fa2,0x1685d342,0x075aeea2,0x0c7b83e4,0x13b0d343,0x113e42a6,0x11a3d4d5,0x13909856,0x2c0204a3,0x0299d2a6,0x13bf9333,0x0a50d4d2,0x0ee57a56,0x2c11a4aa,0x02b07fa2,0x16193b43,0x075c9342,0x2c028291,0x02a0c162,0x076aed57,0x0c4e3393,0x11279be7,0x2c198f35,0x1871eea2,0x02b79c92,0x0f32d3ea,0x18920bea,0x2c19a923,0x027a9392,0x18b0e837,0x2c11748a,0x0ed57ba4,0x07630548,0x18f70543,0x02bfd4a2,0x0c647747,0x2c30b439,0x2c09bc47,0x0ecdc4a8,0x07a1b7e2,0x18739393,0x111fcb43,0x2c40b881,0x0ef470a3,0x0c5ca8d5,0x0c6430a3,0x114e1456,0x8f2c442a,0x70a7a6f0,0x54f27128,0xa3ca5617,0x3bdc43e0,0x204da6d7,0x2d9641cd,0x2b14e2d2,0x6f39c80f,0x837e0535,0xaa28a0f7,0x10384be0,0x915239bc,0xaf85c784,0x09f356d7,0x5fa2c999,0xa8d8b2d2,0x0671c8bd,0xafe6bc7d,0xb1fb1004,0x065288ef,0x04f10aa9,0x748fba8b,0x66354f0b,0x04f82826,0x91d8cdcb,0x90774e2c,0xad9b6f03,0x0e10afa6,0x948f8217,0x8e13522f,0x396e20eb,0x663d1f03,0x079a4b73,0x5fa2c321,0x66639ad3,0x28797f99,0xb425d619,0xaff41814,0xa7da1caf,0x1605cf59,0x9a15792a,0x60eae992,0x6f3b8e6c,0xa3cebbcf,0x91190a95,0x83404d63,0x5fdc92f8,0x347d8951,0x21c78c1b,0x837db3f6,0x94a6f72b,0x839828f3,0x610143d6,0x42cb7c5a,}; const uint t[]={0x2f00576f,0x33f2c1f7,0x2f1fb204,0x1b49dda7,0x3d618237,0x42c83a2e,0x4541a121,0x53a72e14,0x1adea1c5,0x5d3cd90b,0x603c289b,0x568d5310,0x339e664f,0x62d0e527,0x51d53c3a,0x3b06de0b,0x62ec13db,0x45bce019,0x620fc24a,0x5d6c6c36,0x00f4742a,0x70a7a790,0x5bc6aa73,0x76b38992,0x7d04286b,0x5cdd77af,0x793c758e,0x4a25d683,0x6a865f87,0x8a7a6d41,0x80979732,0x3e5dcab0,0x7aab42e2,0x4386c736,0x8f2b05f5,0x3b014639,0x38a8286b,0x5cdd77af,0x793c758e,0x4a25d683,0x285ca196,0x0c38abc3,0x8ce0fa73,0x76b38992,0x7dd7e131,0x8802215d,0x793c7e9e,0x6a7c4ea1,0x8951495d,0x7fe41a29,0x005bbcb0,0x5c2c10d0,0x71e0b2d0,0x79542e24,0x78f372b0,0x7aab42e2,0x4386c736,0x9131fc1b,0x7b8dda68,0x76bb5f80,0x4d905394,0x89a6a269,0x6a7fa4e2,0x7227c8a2,0x76b440b0,0x7b8dd81f,0x966a1e78,0x8cc22484,0x831d7ba1,0x3e5dca93,0x793a255e,0x91784c1e,0x6f044498,0x6546356c,0x9cb68111,0x712516f2,0x3e72fc95,0x6f03fc1e,0x6e9eb2bd,0x3c2881d6,0x3b3ff82e,0x7e49bd4e,0x1c044410,0x91c85dac,0x735912b1,0x1b827fd6,0x39590388,0x40a2e7a9,0x62d0ec21,0xa3108153,0x5fa11a9a,0x5cc864f8,0x5cc8e992,0x9a82cea3,0x09ebc134,0x2c299338,0x18f6ebf7,0x0eb63932,0x09dc5151,0x029203e4,0x0c7d1484,0x13bec954,0x2c01bbd9,0x11567fa3,0x09e3ef55,0x2c313092,0x0a0aa0a7,0x111eec27,0x11a3ebf4,0x0c6445a2,0x09eb29f4,0x2c28e4d3,0x2c390136,0x0a123ea7,0x111f0488,0x0cc21df7,0x139099a2,0x09cc02f6,0x1414d345,0x2c021f82,0x1881d732,0x04eab3d9,0x02c0e433,0x04eb9344,0x13d66b62,0x0c4d1ffa,0x160293e3,0x16317487,0x0c4ca396,0x2c020543,0x0eaf9436,0x163831d7,0x2c021f83,0x113e8f42,0x13bf2df5,0x02c0e2a6,0x07827659,0x11a3ebf8,0x02a8ac92,0x05291943,0x0ef489a2,0x051112f9,0x04eb9344,0x04fa2184,0x2c01ee23,0x09d469a2,0x04f29be4,0x2c212dd3,0x2c30cd88,0x0cc28337,0x0509d9a2,0x13afc0f2,0x04ea5027,0x09e50344,0x161124aa,0x13af4431,0x11a43838,0x0c4d24a2,0x079b12f1,0x1126d4e2,0x050172f1,0x02fdd399,0x05114685,0x2c118d35,0x04f23842,0x0528cf81,0x13906ba2,0x09d3eb55,0x2c023887,0x162ffc52,0x052883e8,0x18726ba4,0x09d49a58,0x18f6d4d4,0x18898bf1,0x2c1177a2,0x16202956,0x160292f3,0x0c3d8093,0x2c195d32,0x189994a5,0x0c6c3021,0x02fdd259,0x077a43f2,0x0511dd25,0x1899dfa5,0x0ef46b51,0x2c194529,0x0edd64a4,0x05217be6,0x0f3304f2,0x09e40b32,0x09e38b5a,0x11a3d396,0x0ec5f4a8,0x051996a3,0x0772f0e5,0x11a468fa,0x0ed51521,0x2c195d31,0x188990aa,0x0ee49aea,0x07dfec95,0x0eecce96,0x07dfed37,0x09cc7853,0x5fb8286b,0x5cdd7adf,0x6a5cfcf7,0x1036d4f8,0x5cc731ad,0x2d342342,0x83549021,0x7e36e1cd,0x6cfe84e5,0xa7d1a0d5,0x88224d36,0x7ce6e895,0x178b4be0,0x915239bc,0xaf85c784,0x09e36bd7,0x5fa2c999,0xa8d8b2d2,0x0671c8bd,0xafe6bc7d,0xb1fb1004,0x065288ef,0x04f10aa9,0x748fba8b,0x66354f0b,0x04f82826,0x91d8cdcb,0x90774e2c,0xad9b6f03,0x0e10afa6,0x948f8217,0x8e13522f,0x396e20eb,0x663d1f03,0x079a3223,0x5fa2c321,0x66639ad3,0x28797f99,0xb425d619,0xaff41814,0xa7da1caf,0x1605cf59,0x9a15792a,0x60eae992,0x6f3b8e6c,0xa3cebbcf,0x91190a95,0x83404d63,0x33bded95,0x61aae95d,0xa34bc8a5,0xa7b83d1c,0xad6d3da5,0xaffccc2a,0x807fee8c,0x8f64ca00,};
g b=460; b=448;
uint magic_number_L_plus_b= 3353; uint magic_number_L_plus_b= 3330;
uint magic_number_L= 2893; uint magic_number_L= 2882;
g R[]={0,234663,68679,2265159,3280003,5348,7376003,1088679,233604,7641382,6600966,2234534,34023,6182,8665390,6601774,4267074,301257,134,14719239,1088809,6210,337920,4262980,5286,7642145,133250,6587686,14726446,7642409,15255086,2270697,18732593,11512810,3312673,12923174,11953,5282,72774,8661474,7465,1049633,33826,9741606,567426,128,206118,131200,14815374,32641156,18470705,131204,15768623,18157905,3319079,18393220,31,18400580,2240642,4261956,4464900,1082415,15994959,459200,4198566,3179555,3213379,332096,145536,7168,2236546,72955190,4260932,9570592,244584452,266305}; const uint R[]={0,234663,68679,2265159,3280003,5348,7376003,1088679,233604,7641382,6600966,2234534,34023,6182,8665390,6601774,4267074,301257,134,14719239,1088809,6210,337920,4262980,5286,7642145,133250,6587686,14726446,7642409,15255086,2270697,18732593,11512810,3312673,12923174,11953,5282,72774,8661474,7465,1049633,33826,9741606,567426,128,206118,131200,14815374,32641156,18470705,131204,15768623,18157905,3319079,18393220,31,18400580,2240642,4261956,4464900,1082415,15994959,459200,4198566,3179555,3213379,332096,145536,7168,2236546,72955190,4260932,9570592,244584452,266305};

View file

@ -118,12 +118,12 @@ fn golfed() {
encoded_text.push(temp); encoded_text.push(temp);
} }
let mut out_string = String::new(); let mut out_string = String::new();
out_string += "g t[]={"; out_string += "const uint t[]={";
for t in &encoded_text { for t in &encoded_text {
out_string += &format!("{t:#010x},"); out_string += &format!("{t:#010x},");
} }
out_string += "};\n"; out_string += "};\n";
out_string += &format!("g b={blob_start};\n"); out_string += &format!("b={blob_start};\n");
out_string += &format!( out_string += &format!(
"uint magic_number_L_plus_b= {};\n", "uint magic_number_L_plus_b= {};\n",
encoded_text.len() * 11 + blob_start encoded_text.len() * 11 + blob_start
@ -149,7 +149,7 @@ fn golfed() {
out.push(encoded); out.push(encoded);
} }
out_string += "g R[]={"; out_string += "const uint R[]={";
for (_i, c) in out.iter().enumerate() { for (_i, c) in out.iter().enumerate() {
out_string += &format!("{c},"); out_string += &format!("{c},");
} }