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 26, 2025 08:04Dmitry YudakovDmitry YudakovScore: 109,613Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 08:04107,9283,592,048,1973,535,656,00025,982,0002,318,336
2Apr 26, 2025 08:04108,1203,599,326,8313,546,986,00020,988,0002,473,984
3Apr 26, 2025 08:04109,2363,633,763,2573,577,807,00026,983,0002,338,816
4Apr 26, 2025 08:04109,4193,638,185,0813,580,854,00029,982,0002,301,952
5Apr 26, 2025 08:04109,6133,645,311,0443,596,252,00020,989,0002,543,616
6Apr 26, 2025 08:04111,0543,695,414,4233,647,794,00016,989,0002,449,408
7Apr 26, 2025 08:04111,4453,710,604,0273,646,711,00030,980,0002,404,352
8Apr 26, 2025 08:04112,6533,742,465,1053,685,559,00031,978,0002,560,000
9Apr 26, 2025 08:04112,8073,751,319,5613,697,641,00024,984,0002,371,584