Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
B made a question for A:
There is an array A with length n, and an array B with length m. By choosing a number from A and a number from B and adding them, the number n*m results. He wants to know the kth number of the numbers that have this result. The index starts at 1.
A does not know how to solve this problem, so he let you solve it.
Three integers(n, m, and k) are inputted on the first line. They represent the length of A and B, and the "kth" that A wants to know.
On the second line, there are n integers, where the "i-th" number of the line represents the ith index of A.
On the third line, there are m integers, where the "i-th" number of the line represents the ith index of B.
Print an integer in a line, which is the answer.
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
2 3 5 2 2 1 3 2
5
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron ユニ | 3 | 0.0165 | 2019/04/17 14:22:21 | 0B / 2B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron ユニ | 3 | 0.0809 | 2019/04/17 14:22:46 | 0B / 2B / 0B |
2 | domperor | 3 | 0.1379 | 2019/04/23 18:05:29 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | mypetlion | 7 | 0.0333 | 2019/04/17 00:30:06 | 0B / 6B / 0B |
2 | test | 7 | 0.0477 | 2019/04/25 17:06:34 | 0B / 6B / 0B |
3 | Erik the Outgolfer | 7 | 0.0639 | 2020/11/14 08:50:54 | 0B / 6B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | mypetlion | 8 | 0.0691 | 2019/04/16 01:30:25 | 0B / 6B / 2B |
2 | domperor | 8 | 0.1112 | 2019/04/23 18:01:25 | 0B / ?B / ?B |
3 | Erik the Outgolfer | 8 | 0.1534 | 2020/11/14 08:51:03 | 0B / 6B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | ZED.CWT | 1 | 0.0224 | 2019/04/14 11:43:04 | 0B / 1B / 0B |
2 | _ | 1 | 0.0168 | 2019/04/16 10:37:30 | 0B / 1B / 0B |
3 | Erik the Outgolfer | 1 | 0.0989 | 2020/11/14 08:55:11 | 0B / 1B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 4 | 0.6789 | 2019/08/08 11:22:03 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 6 | 0.5979 | 2019/08/10 05:27:13 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 6 | 0.0501 | 2019/09/06 04:06:56 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 8 | 0.0258 | 2019/10/09 06:45:18 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 6 | 0.0131 | 2019/08/19 11:19:15 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 4 | 0.0127 | 2019/08/08 17:17:39 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 3 | 0.0002 | 2019/08/12 18:02:41 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 5 | 0.0108 | 2019/08/28 18:47:52 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 8 | 0.0001 | 2019/08/04 07:50:06 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 3 | 0.0111 | 2019/08/15 13:16:43 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 2 | 0.0283 | 2019/07/16 15:40:46 | 0B / ?B / ?B |
2 | Erik the Outgolfer | 2 | 0.0516 | 2020/11/14 08:53:07 | 0B / 1B / 1B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 5 | 0.0142 | 2021/04/13 15:21:34 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 1 | 0.1491 | 2021/03/22 06:12:56 | 0B / ?B / ?B |
2 | Erik the Outgolfer | 1 | 0.1554 | 2021/05/19 16:57:03 | 0B / 1B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Erik the Outgolfer | 18 | 0.0222 | 2020/11/14 08:52:19 | 0B / 9B / 9B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | mypetlion | 71 | 0.0449 | 2019/04/17 00:40:14 | 0B / 53B / 13B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 9 | 0.0124 | 2019/08/11 10:39:42 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 4 | 0.0232 | 2021/04/03 11:47:05 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 6 | 0.1289 | 2019/09/07 10:43:59 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | _ | 2 | 0.0117 | 2019/08/13 12:46:21 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 1 | 0.0105 | 2019/07/16 01:52:28 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Erik the Outgolfer | 6 | 0.0145 | 2020/11/14 08:51:19 | 0B / 5B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Erik the Outgolfer | 6 | 0.0144 | 2020/11/14 08:55:29 | 0B / 5B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Erik the Outgolfer | 4 | 0.0145 | 2020/11/14 08:53:25 | 0B / 1B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 2 | 0.0108 | 2019/07/24 04:45:49 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 2 | 0.0108 | 2019/10/15 09:34:37 | 0B / ?B / ?B |
2 | Erik the Outgolfer | 2 | 0.0142 | 2020/11/14 08:52:50 | 0B / 2B / 0B |
3 | #c0ffee ( sorry ) | 2 | 0.0137 | 2024/10/03 16:31:56 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | tails | 1 | 0.0232 | 2019/07/16 02:08:51 | 0B / 1B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 3 | 0.0708 | 2019/10/06 06:13:36 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 6 | 0.1050 | 2019/07/27 13:01:01 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | %20 | 5 | 0.0104 | 2019/04/17 14:35:35 | 0B / 0B / 5B |
2 | Unihedron ユニ | 5 | 0.0105 | 2019/04/17 14:36:15 | 0B / 0B / 5B |
3 | Unihedron | 6 | 0.0105 | 2019/04/17 14:38:49 | 0B / 0B / 6B |
4 | Unihedron (cheat) | 6 | 0.0105 | 2019/04/17 14:39:10 | 0B / 0B / 6B |
5 | mypetlion | 23 | 0.0126 | 2019/04/17 00:35:09 | 0B / 0B / 23B |
6 | Unihedron ユニ | 23 | 0.0114 | 2019/04/17 14:24:27 | 0B / 0B / 23B |
7 | #c0ffee ( sorry ) | 5 | 0.0138 | 2024/10/03 16:31:46 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron ユニ | 3 | 0.0002 | 2019/04/17 14:39:29 | 0B / 1B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron | 3 | 0.0538 | 2019/04/17 14:39:36 | 0B / 1B / 2B |
2 | Unihedron ユニ | 3 | 0.0002 | 2019/04/17 14:47:18 | 0B / 1B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron | 5 | 0.0107 | 2019/04/17 14:46:29 | 0B / 2B / 3B |
2 | Unihedron ユニ | 5 | 0.0110 | 2019/04/17 14:46:58 | 0B / 2B / 3B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 3 | 0.0524 | 2019/08/05 21:34:47 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 3 | 0.0205 | 2019/08/13 10:26:26 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron ユニ | 3 | 0.1478 | 2019/04/17 14:23:29 | 0B / 2B / 1B |
2 | Erik the Outgolfer | 3 | 0.0901 | 2020/11/14 08:51:10 | 0B / 2B / 1B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Erik the Outgolfer | 2 | 0.0196 | 2020/11/14 08:49:11 | 0B / 1B / 1B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron ユニ | 1 | 0.0585 | 2019/04/17 15:01:52 | 0B / 1B / 0B |
2 | Erik the Outgolfer | 1 | 0.0979 | 2020/11/14 08:55:18 | 0B / 1B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 2 | 0.0276 | 2021/04/04 19:28:38 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 2 | 0.0132 | 2019/08/03 07:55:22 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Erik the Outgolfer | 19 | 0.0779 | 2020/11/14 08:51:32 | 0B / 10B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 4 | 0.0166 | 2021/05/24 19:18:43 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | McBusLuck | 4 | 0.0001 | 2019/07/27 17:05:48 | 1B / 2B / 1B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | McBusLuck | 4 | 2.7342 | 2019/05/18 05:39:47 | 2B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pocke | 7 | 0.0099 | 2019/09/26 12:59:05 | 0B / 7B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | Unihedron ユニ | 3 | 0.0644 | 2019/04/17 14:22:33 | 0B / 2B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | pooq | 8 | 1.4070 | 2021/04/03 01:36:39 | 0B / ?B / ?B |
Rank | Lang | User | Size | Score |
---|---|---|---|---|
1 | PHP | ZED.CWT | 1 | 10000 |
2 | gs2 | Unihedron ユニ | 1 | 10000 |
3 | jq | pooq | 1 | 10000 |
4 | m4 | tails | 1 | 10000 |
5 | Jelly | pooq | 1 | 10000 |
6 | BASIC | pooq | 2 | 5000 |
7 | bc | pooq | 2 | 5000 |
8 | Burlesque | pooq | 2 | 5000 |
9 | Euphoria | 2 | 5000 | |
10 | dc | pooq | 2 | 5000 |
11 | GolfScript | Erik the Outgolfer | 2 | 5000 |
12 | FlogScript | pooq | 2 | 5000 |
13 | Ruby | Unihedron ユニ | 3 | 3333 |
14 | goruby | Unihedron ユニ | 3 | 3333 |
15 | Ruby2 | Unihedron ユニ | 3 | 3333 |
16 | ><> | Unihedron ユニ | 3 | 3333 |
17 | Befunge | Unihedron ユニ | 3 | 3333 |
18 | Befunge-98 | Unihedron | 3 | 3333 |
19 | Labyrinth | pooq | 3 | 3333 |
20 | Crystal | pooq | 3 | 3333 |
21 | Hexagony | pooq | 3 | 3333 |
22 | Forth | pooq | 3 | 3333 |
23 | Postscript | pooq | 3 | 3333 |
24 | DOS | McBusLuck | 4 | 2500 |
25 | z80 | McBusLuck | 4 | 2500 |
26 | Arc | pooq | 4 | 2500 |
27 | Xtal | pooq | 4 | 2500 |
28 | Zsh | Erik the Outgolfer | 4 | 2500 |
29 | gnuplot | pooq | 4 | 2500 |
30 | Unlambda | pooq | 4 | 2500 |
31 | Brainfuck | %20 | 5 | 2000 |
32 | Pefunge | Unihedron | 5 | 2000 |
33 | REXX | pooq | 5 | 2000 |
34 | K | pooq | 5 | 2000 |
35 | R | pooq | 6 | 1666 |
36 | Clojure | pooq | 6 | 1666 |
37 | Tcl | pooq | 6 | 1666 |
38 | Io | pooq | 6 | 1666 |
39 | Octave | pooq | 6 | 1666 |
40 | Bash | Erik the Outgolfer | 6 | 1666 |
41 | Bash (builtins) | Erik the Outgolfer | 6 | 1666 |
42 | Python | mypetlion | 7 | 1428 |
43 | Vim | pocke | 7 | 1428 |
44 | Python3 | mypetlion | 8 | 1250 |
45 | Squirrel | pooq | 8 | 1250 |
46 | JavaScript | pooq | 8 | 1250 |
47 | Scala | pooq | 8 | 1250 |
48 | Chapel | pooq | 9 | 1111 |
49 | C | Erik the Outgolfer | 18 | 555 |
50 | FerNANDo | Erik the Outgolfer | 19 | 526 |
51 | Java | mypetlion | 71 | 140 |