Some error occured while loading page for you. Please try again.
Sort 3 Discussions, By:
Please Login in order to post a comment
I am unable to inculde the clojure.math.combinatorics namespace
could someone help me.. i am beginner in clojure.
(:require [clojure.string :as str])
(:require [clojure.math.combinatorics :as combo])
(def test_cases (Integer/parseInt(read-line)))
(def l (str/split (read-line) #"\s+"))
(def n1 (Integer/parseInt(nth l 0)))
(def n2 (Integer/parseInt(nth l 1)))
(println(combo/count-combinations n1 n2)))
non-DP solution is accepted lol
simple problem of combination. kCn
No more comments