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 listSep 22, 2024 06:53Alex KentAlex KentError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 17:37Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 17:44020,006,751,76219,974,619,00019,119,00016,384Killed by timeout
2Sep 22, 2024 06:5357,4501,923,564,4451,874,858,00020,987,0002,273,280
3Sep 22, 2024 06:5357,4871,920,823,2961,872,095,00024,987,0002,506,752
4Sep 22, 2024 06:5357,7411,930,118,6911,883,453,00021,993,0002,379,776
5Sep 22, 2024 06:5357,7501,931,370,3261,881,774,00023,984,0002,437,120
6Sep 22, 2024 06:5357,7571,932,877,5841,883,995,00021,988,0002,269,184
7Sep 22, 2024 06:5357,9281,939,945,7391,887,613,00023,995,0002,273,280
8Sep 22, 2024 06:5357,9621,940,582,0611,885,771,00026,982,0002,273,280
9Sep 22, 2024 06:5358,0811,941,089,0621,891,690,00024,982,0002,285,568
10Sep 22, 2024 06:5358,1831,944,893,0331,899,059,00020,989,0002,445,312