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 25, 2024 21:12Joad NacerJoad NacerScore: 6,184Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2024 21:125,706253,332,546188,310,82002,207,744
2Jun 25, 2024 21:125,730250,636,689189,084,88102,211,840
3Jun 25, 2024 21:125,805253,828,743191,568,32802,347,008
4Jun 25, 2024 21:126,119226,615,646175,929,00025,989,0002,396,160
5Jun 25, 2024 21:126,130229,112,788178,247,00024,033,0002,424,832
6Jun 25, 2024 21:126,168230,126,336180,608,00022,950,0002,326,528
7Jun 25, 2024 21:126,184224,808,399181,059,00023,007,0002,338,816
8Jun 25, 2024 21:126,187231,061,811180,146,00024,019,0002,326,528
9Jun 25, 2024 21:126,187231,799,321180,163,00024,021,0002,334,720
10Jun 25, 2024 21:126,203235,332,379178,744,00025,962,0002,383,872
11Jun 25, 2024 21:126,209228,229,182180,910,00023,988,0002,326,528
12Jun 25, 2024 21:126,218234,808,568179,159,00026,023,0002,396,160