This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require '[clojure.set :as set]) | |
(def info | |
[{:year 2017 | |
:month 4 | |
:data "x"} | |
{:year 2017 | |
:month 4 | |
:data "y"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$g++ vector_map.cpp -o vector_test && ./vector_test | |
Vector with x: 645 y: 413 z: 958 has value: 1312704908 | |
Vector with x: 496 y: 358 z: 749 has value: 1988979514 | |
Vector with x: 223 y: 868 z: 203 has value: 141221503 | |
Vector with x: 345 y: 350 z: 869 has value: 1678149073 | |
Vector with x: 565 y: 366 z: 722 has value: 1934444366 | |
Vector with x: 934 y: 419 z: 619 has value: 560261625 | |
Vector with x: 426 y: 92 z: 351 has value: 427818382 | |
Vector with x: 24 y: 263 z: 407 has value: 760253072 | |
... |