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 22, 2024 23:37Joad NacerJoad NacerScore: 5,405Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2024 23:374,731225,594,045156,134,07702,228,224
2Jun 22, 2024 23:374,844225,139,698159,846,03702,228,224
3Jun 22, 2024 23:374,857220,916,744160,264,89402,220,032
4Jun 22, 2024 23:375,389200,788,882150,871,00026,977,0002,396,160
5Jun 22, 2024 23:375,396206,793,437154,046,00024,007,0002,367,488
6Jun 22, 2024 23:375,396201,615,512153,059,00025,009,0002,387,968
7Jun 22, 2024 23:375,405209,069,489158,334,00020,042,0002,355,200
8Jun 22, 2024 23:375,459208,126,450153,123,00027,021,0002,359,296
9Jun 22, 2024 23:375,558209,780,055157,491,00025,916,0002,363,392
10Jun 22, 2024 23:375,649216,225,986163,495,00022,929,0002,400,256
11Jun 22, 2024 23:375,662210,379,479166,869,00019,984,0002,396,160
12Jun 22, 2024 23:375,686211,426,944164,683,00022,955,0002,359,296