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 21, 2026 07:19Charles CabergsCharles CabergsScore: 50,667Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 07:2049,8701,674,586,2191,634,727,00010,991,0002,449,408
2Apr 21, 2026 07:2049,9651,677,814,3141,632,883,00015,989,0002,265,088
3Apr 21, 2026 07:2050,1981,692,592,2541,641,562,00014,996,0002,449,408
4Apr 21, 2026 07:2050,2151,681,778,6961,646,133,00010,994,0002,449,408
5Apr 21, 2026 07:2050,6671,700,723,2631,657,024,00014,991,0002,265,088
6Apr 21, 2026 07:2050,6801,698,828,2591,660,450,00011,996,0002,453,504
7Apr 21, 2026 07:2050,9931,707,454,8731,671,788,00010,992,0002,265,088
8Apr 21, 2026 07:2051,9151,739,014,7061,701,228,00011,994,0002,265,088
9Apr 21, 2026 07:2052,9801,773,536,4621,738,351,0009,996,0002,260,992