Submission #790681
Source Code Expand
(def in-seq #(line-seq (java.io.BufferedReader. *in*)))
(def s->long #(Long/parseLong %))
(defn solve [[s i & _]]
(let [i (s->long i)]
(nth s (dec i))))
(dorun (->> (in-seq) solve (map print)))
Submission Info
| Submission Time | |
|---|---|
| Task | A - 添字 |
| User | mnzk |
| Language | Clojure (1.8.0) |
| Score | 0 |
| Code Size | 208 Byte |
| Status | TLE |
| Exec Time | 2107 ms |
| Memory | 50268 KiB |
Judge Result
| Set Name | Sample | All | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 100 | ||||||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt |
| All | 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 0_00.txt | TLE | 2107 ms | 48856 KiB |
| 0_01.txt | RE | 1987 ms | 44972 KiB |
| 0_02.txt | RE | 1987 ms | 50268 KiB |
| 0_03.txt | RE | 1979 ms | 49732 KiB |
| 1_00.txt | RE | 1975 ms | 43500 KiB |
| 1_01.txt | TLE | 2015 ms | 44516 KiB |
| 1_02.txt | RE | 1971 ms | 45064 KiB |
| 1_03.txt | RE | 1999 ms | 43496 KiB |