Talk:Rare numbers: Difference between revisions

m
→‎Tweaks, Go (Turbo): Edited source to output syntax highlighting correctly for C++ in addition to previously Golang
m (→‎Tweaks, Go (Turbo): Fixed source to output syntax-highlighting correctly)
m (→‎Tweaks, Go (Turbo): Edited source to output syntax highlighting correctly for C++ in addition to previously Golang)
Line 864:
:I've also updated Nigel's C++ version with the same tweaks:
 
<langsyntaxhighlight lang="cpp">#include <iostream>
#include <functional>
#include <bitset>
Line 904:
int main(){
Rare(19);
}</langsyntaxhighlight>
:Compiling this with g++ brings the overall execution time down from 30 to 21 minutes in round figures. So the figures for clang or mingw may well come in at below 10 minutes now.
 
35

edits