New answers tagged

1

Rust + -O, 618 + 3953 = 4571 bytes -O to turn on optimizations, otherwise TIO times out because it's too slow. If you're using cargo, use --release instead. ||{let f=|n:i64|if n<0{"-".repeat(-n as usize)}else{"+".repeat(n as usize)};let w=|n:i64|n as u8 as i64;print!("{}",(0..256).map(|n|(0..9).flat_map(|a|(-9..=a).map(move|b|...


2

brainfuck, 3785 + 4120 = 7905 bytes -->>>->>->>->>+>>->>->>->>-->+>->>->>->>->+>->>->>->>>+>->>->>->>->>>>-->+>->->>>>>-->+>->->->>>>->+>->->->>>>-->+&...


2

Javascript (ES6), 202 196 192 bytes Outputs C code. Tested with Node.js 14.7.0 and GCC 10.1.0. Try it online f=i=>"a[99];main(){int*p=a;"+Array.prototype.map.call(i,x=>({">":"p++","<":"p--","+":"++*p","-":"--*p","[":"while(*p){","]&...


Top 50 recent answers are included