Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listJul 11, 2024 21:21Joad NacerJoad NacerError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2024 21:2200000Error: expected "1025645 ", got "1025643 "stderr
2Jul 11, 2024 21:2400000Error: expected "1018475 ", got "1018474 "stderr
3Jul 11, 2024 21:2400000Error: expected "1018830 ", got "1018828 "stderr
4Jul 11, 2024 21:2400000Error: expected "1022085 ", got "1022081 "stderr
5Jul 11, 2024 21:2400000Error: expected "1021597 ", got "1021595 "stderr
6Jul 11, 2024 21:2400000Error: No answer to stdout. Died or killed?stderr
7Jul 11, 2024 21:2400000Error: No answer to stdout. Died or killed?stderr
8Jul 11, 2024 21:2400000Error: expected "1022847 ", got "1022846 "stderr
9Jul 11, 2024 21:2400000Error: expected "1025282 ", got "1025281 "stderr
10Jul 11, 2024 21:2400000Error: expected "1022822 ", got "1022821 "stderr
11Jul 11, 2024 21:2400000Error: expected "1021614 ", got "1021613 "stderr
12Jul 11, 2024 21:2200000Error: expected "1019104 ", got "1019100 "stderr
13Jul 11, 2024 21:2200000Error: expected "1023360 ", got "1023358 "stderr
14Jul 11, 2024 21:2200000Error: expected "1019029 ", got "1019028 "stderr
15Jul 11, 2024 21:2200000Error: expected "1021264 ", got "1021263 "stderr
16Jul 11, 2024 21:2200000Error: expected "1018268 ", got "1018266 "stderr
17Jul 11, 2024 21:2200000Error: expected "1018400 ", got "1018399 "stderr
18Jul 11, 2024 21:2200000Error: expected "1024284 ", got "1024282 "stderr
19Jul 11, 2024 21:2200000Error: expected "1024889 ", got "1024887 "stderr
20Jul 11, 2024 21:2200000Error: expected "1020675 ", got "1020673 "stderr
21Jul 11, 2024 21:2200000Error: expected "1021199 ", got "1021198 "stderr
22Jul 11, 2024 21:2100000Error: expected "1025753 ", got "1025752 "stderr
23Jul 11, 2024 21:243,382185,768,509111,616,75602,228,224
24Jul 11, 2024 21:243,386169,410,281111,749,02002,236,416
25Jul 11, 2024 21:243,394176,357,037112,008,15402,228,224