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 listApr 27, 2025 12:37Dmitry YudakovDmitry YudakovScore: 105,183Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 12:37103,5393,447,507,3873,400,800,00015,989,0002,326,528
2Apr 27, 2025 12:37104,1873,463,847,5053,414,194,00023,987,0002,392,064
3Apr 27, 2025 12:37104,2023,469,921,5493,424,691,00013,990,0002,334,720
4Apr 27, 2025 12:37105,0313,495,381,0763,453,019,00012,992,0002,428,928
5Apr 27, 2025 12:37105,1833,497,080,2993,455,062,00015,991,0002,465,792
6Apr 27, 2025 12:37105,7323,522,573,7263,473,159,00015,991,0002,437,120
7Apr 27, 2025 12:37105,8543,522,117,4883,477,183,00015,991,0002,461,696
8Apr 27, 2025 12:37106,2863,537,685,4683,494,459,00012,994,0002,428,928
9Apr 27, 2025 12:37112,1733,729,593,9473,684,713,00016,989,0002,416,640