17 votes

Most efficient cubifier

Lua, Score: 85.91 13.50 13.20 12.70 9.41 9.32 9.83 9.66 9.12 9.06 8.03 (Average) ...
TehPers's user avatar
  • 1,397
16 votes

Most efficient cubifier

Cubically, Score: 86.98 U3D1R3L1F3B1U1D3~:7+1(-1@3(-1%1)6:1+3111@6%1-31111+004@6:1+11111%6:1+45@6:1-1%6~:7+1)6 Try it online! Turns out, all you need is ...
Kamil Drakari's user avatar
10 votes

Most efficient cubifier

C# (.NET Core), Score: 129.98 11.73 10.82 9.62 10.33 10.32 10.20 -1.2 point from MD XF's suggestion to use @6666... instead of ...
Kamil Drakari's user avatar
8 votes
Accepted

Implement the Cubically Cube

Python 2, 476 bytes ...
Jonathan Allan's user avatar
6 votes
Accepted

Sum a Cubically cube's faces

Jelly, 16 14 13 bytes 3 bytes thanks to Erik the Outgolfer. ḟ⁶ỴV€€sS€ẎsS€ Try it online!
Leaky Nun's user avatar
  • 49.7k
5 votes
Accepted

Most efficient cubifier

C++11, Score: 6.37 ...
DELETE_ME's user avatar
  • 17.3k
5 votes

Sum a Cubically cube's faces

Python 2, 155 150 147 123 121 120 bytes Could probably be golfed quite a bit Edit: -5 bytes by using a better method for removing the whitespaces Edit: -3 bytes thanks to @Leaky Nun Edit: -24 ...
Halvard Hummel's user avatar
4 votes

Sum a Cubically cube's faces

05AB1E, 16 bytes ¹|ðм€Sôεø¹ô€OO}˜ Try it online!
Erik the Outgolfer's user avatar
3 votes

Sum a Cubically cube's faces

Octave, 64 59 54 bytes @(c,n)sum(im2col(c'-48,[n n],'distinct'))([2 5:8 10]) Try it online! Previous answer: ...
rahnema1's user avatar
  • 5,665
3 votes

Sum a Cubically cube's faces

Husk, 15 bytes 3 s and 2 ms mṁṁiṁoC⁰TC⁰mf±¶ Try it online! Explanation ...
H.PWiz's user avatar
  • 11.6k
3 votes

Most efficient cubifier

C++, score: 4.026 3.998 improvement: added M, E and S rotations; now eats even more RAM Fortunately, there is no memory limit here! This program can use over 10 GB of RAM, if you are unlucky enough. ...
the default.'s user avatar
  • 8,415
2 votes

Sum a Cubically cube's faces

Perl 5, 66 + 1 (-n) = 67 bytes $j=$k<6?$k++/3:5;s/\d{3}/';$r[$j++]+='.$&=~s|.|+$&|gr/gee}{say"@r" Try it online!
Xcali's user avatar
  • 14.3k
2 votes

Sum a Cubically cube's faces

Python 2, 137 127 bytes -10 bytes thanks to @Halvard Hummel ...
0xffcourse's user avatar
  • 2,779
2 votes
Accepted

Of Dumps and Cubes, and Structured Nonsense

Jelly, 87 73 62 61 60 bytes fØDO“¬ụƘȷ$OkḌ×c¿?oƥ¤_Ọ6;ȤṚUȷ!8⁺⁻:ĠŻ’Œ?¤ịs24Ṗs"2,3ị“LFRBDU”ẎK Try it online!
DELETE_ME's user avatar
  • 17.3k
2 votes

Of Dumps and Cubes, and Structured Nonsense

Ruby, 115 bytes ...
Level River St's user avatar
2 votes

Of Dumps and Cubes, and Structured Nonsense

Clean, 150 145 143 bytes Contains many non-printable characters. ...
Οurous's user avatar
  • 8,106
1 vote

Sum a Cubically cube's faces

PowerShell, 236 bytes ...
AdmBorkBork's user avatar
  • 43.3k
1 vote

Sum a Cubically cube's faces

APL (Dyalog Classic), 30 27 bytes {+/⍎¨6(⍺*2)⍴⍉⊃,⌿3⍺⍴⍵⊂⍨⍵∊⎕D} Shaved off 3 bytes thanks to @Adám is n ...
Gil's user avatar
  • 261
1 vote

Sum a Cubically cube's faces

Haskell, 128 bytes s n c=filter(>=0)$map(\[x,y]->sum$map(\[v,w]->fromEnum((lines c)!!(x*n+v)!!(y*n+w))-48)$n%n)$3%4 n%m=sequence[[0..n-1],[0..m-1]] ...
Leif Willerts's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible