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 listJun 16, 2024 00:12Joad NacerJoad NacerScore: 5,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 00:125,741254,784,151189,438,08102,232,320
2Jun 16, 2024 00:125,749255,644,481189,702,61102,224,128
3Jun 16, 2024 00:125,803261,549,585191,513,37902,232,320
4Jun 16, 2024 00:125,884226,264,380170,150,00024,021,0002,400,256
5Jun 16, 2024 00:125,949222,564,732171,264,00025,038,0002,371,584
6Jun 16, 2024 00:125,958219,933,435173,655,00022,954,0002,400,256
7Jun 16, 2024 00:125,964220,116,475172,829,00023,976,0002,396,160
8Jun 16, 2024 00:125,984223,267,024174,421,00023,055,0002,400,256
9Jun 16, 2024 00:125,993226,092,840172,792,00024,969,0002,367,488
10Jun 16, 2024 00:126,045225,275,741175,535,00023,936,0002,478,080
11Jun 16, 2024 00:126,073228,299,728174,500,00025,925,0002,400,256
12Jun 16, 2024 00:126,112224,333,617177,744,00023,965,0002,400,256