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 listAug 20, 2023 15:55Robert BurkeRobert BurkeScore: 7,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2023 15:557,085297,727,349233,816,38502,269,184
2Aug 20, 2023 15:557,125297,319,203235,109,92402,273,280
3Aug 20, 2023 15:557,182295,046,678237,000,28302,277,376
4Aug 20, 2023 15:557,678284,769,079247,353,0006,008,0002,510,848
5Aug 20, 2023 15:557,682283,424,198248,505,0004,990,0002,375,680
6Aug 20, 2023 15:557,686275,642,338248,647,0004,992,0002,367,488
7Aug 20, 2023 15:557,686274,085,174249,649,0003,994,0002,527,232
8Aug 20, 2023 15:557,699275,285,327250,063,0004,001,0002,539,520
9Aug 20, 2023 15:557,700275,688,018248,087,0006,002,0002,351,104
10Aug 20, 2023 15:557,716278,590,475249,645,0004,992,0002,367,488
11Aug 20, 2023 15:557,747282,759,961248,669,0006,990,0002,371,584
12Aug 20, 2023 15:557,750277,066,204253,767,0001,998,0002,289,664