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 listJan 10, 2026 17:56Pavel SkripkinPavel SkripkinScore: 60,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2026 17:5659,0071,975,475,3271,939,247,0007,996,0002,461,696
2Jan 10, 2026 17:5659,1261,980,118,5881,943,176,0007,996,0002,433,024
3Jan 10, 2026 17:5659,2991,984,368,4801,946,869,0009,994,0002,514,944
4Jan 10, 2026 17:5659,5611,999,012,1561,955,521,0009,992,0002,281,472
5Jan 10, 2026 17:5660,2992,016,225,2551,979,885,0009,994,0002,273,280
6Jan 10, 2026 17:5661,4662,057,437,7042,019,372,0008,992,0002,293,760
7Jan 10, 2026 17:5661,5902,061,386,2242,022,468,0009,992,0002,277,376
8Jan 10, 2026 17:5661,6442,065,861,7322,025,251,0008,996,0002,490,368
9Jan 10, 2026 17:5662,9942,103,376,5012,069,809,0008,994,0002,514,944