Join us on Discord!
You can help CodeWalrus stay online by donating here.

Code Golf - The Reboot #1

Started by pimathbrainiac, June 01, 2015, 12:46:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ivoah

@Cumred_Snektron you could have reduced your program by 2 bytes if you removed some whitespace
  • Calculators owned: TI-86 (now broken), TI SR-56, TI-Nspire CX CAS, TI-84+ SE, TI-84+ SE, TI-85, TI-73 Explorer VS, ViewScreen, TI-84+ CSE, TI-83+ SE

Scipi

Thought I PMed an updated version of my entry that brought it down to 131 bytes. <_< Oh, well it doesn't really affect my placement :P

Here's my entry, if anyone's curious.

#include<set>
int main(){int a[256]{},i;auto f=fopen("m","r");while(i=~getc(f))a[~i]++;for(int x:a)x?printf("%c %d\n",i,x):0,++i;}
  • Calculators owned: TI-83+, Nspire, Nspire CX, Casio Prizm




Dream of Omnimaga

Quote from: Cumred_Snektron on June 08, 2015, 04:24:11 PM
Kzyrox* it's my gaming name thingly. Noone can ever pronounce it right <_<
It is quite hard to spell properly too :P
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal