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 listMay 27, 2024 23:59Joad NacerJoad NacerScore: 8,156Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 23:597,704324,815,614254,219,97802,220,032
2May 27, 2024 23:597,751319,680,114255,792,46602,232,320
3May 27, 2024 23:598,023298,214,186208,818,00055,951,0002,437,120
4May 27, 2024 23:598,121291,462,663208,995,00058,998,0002,433,024
5May 27, 2024 23:598,136292,483,468210,608,00057,892,0002,428,928
6May 27, 2024 23:598,136289,241,759211,607,00056,894,0002,265,088
7May 27, 2024 23:598,156301,026,824212,122,00057,032,0002,383,872
8May 27, 2024 23:598,162294,763,161210,500,00058,860,0002,433,024
9May 27, 2024 23:598,173294,003,022211,776,00057,938,0002,281,472
10May 27, 2024 23:598,181293,232,251211,984,00057,995,0002,273,280
11May 27, 2024 23:598,234302,008,301211,794,00059,941,0002,437,120
12May 27, 2024 23:598,346343,478,044275,424,12202,228,224