Skip to content

Instantly share code, notes, and snippets.

@laurentpetit
Last active December 11, 2015 15:18
Show Gist options
  • Save laurentpetit/4619522 to your computer and use it in GitHub Desktop.
Save laurentpetit/4619522 to your computer and use it in GitHub Desktop.
=> (post-enonce2 "[ { \"VOL\": \"bright-telescope-91\", \"DEPART\": 2, \"DUREE\": 7, \"PRIX\": 21 }, { \"VOL\": \"steep-farmhand-81\", \"DEPART\": 0, \"DUREE\": 1, \"PRIX\": 12 }, { \"VOL\": \"shrill-peephole-67\", \"DEPART\": 4, \"DUREE\": 3, \"PRIX\": 3 }, { \"VOL\": \"crazy-watchtower-73\", \"DEPART\": 1, \"DUREE\": 1, \"PRIX\": 6 }, { \"VOL\": \"curious-mainframe-35\", \"DEPART\": 4, \"DUREE\": 17, \"PRIX\": 4 }, { \"VOL\": \"tender-lava-90\", \"DEPART\": 9, \"DUREE\": 2, \"PRIX\": 6 }, { \"VOL\": \"hungry-backward-44\", \"DEPART\": 9, \"DUREE\": 1, \"PRIX\": 7 }, { \"VOL\": \"super-genie-14\", \"DEPART\": 6, \"DUREE\": 5, \"PRIX\": 6 }, { \"VOL\": \"vast-yak-32\", \"DEPART\": 8, \"DUREE\": 3, \"PRIX\": 8 }, { \"VOL\": \"high-pitched-dunce-44\", \"DEPART\": 9, \"DUREE\": 3, \"PRIX\": 1 } ]")
:uri /jajascript/optimize0.806, Query:"10 enchères: [ { "VOL": "bright-telescope-91", "DEPART": 2, "DUREE": 7, "PRIX": 21 }, { "VOL": "steep-farmhand-81", "DEPART": 0, "DUREE": 1, "PRIX": 12 }, { "VOL": "shrill-peephole-67", "DEPART": 4, "DUREE": 3, "PRIX": 3 }, { "VOL": "crazy-watchtower-73", "DEPART...", Answer:"Gain:46: {:gain 46, :path ["steep-farmhand-81" "crazy-watchtower-73" "bright-telescope-91" "hungry-backward-44"]}"
"{\"gain\":46,\"path\":[\"steep-farmhand-81\",\"crazy-watchtower-73\",\"bright-telescope-91\",\"hungry-backward-44\"]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment