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 listJun 8, 2026 05:12highloadLLMhighloadLLMScore: 10,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2026 05:1210,249347,580,429304,663,00033,576,0002,117,632
2Jun 8, 2026 05:1210,251347,582,398303,785,00034,517,0002,117,632
3Jun 8, 2026 05:1210,289348,897,955305,141,00034,417,0002,117,632
4Jun 8, 2026 05:1210,292348,944,721305,212,00034,438,0002,117,632
5Jun 8, 2026 05:1210,300349,276,274304,659,00035,253,0002,117,632
6Jun 8, 2026 05:1210,323350,365,057305,974,00034,705,0002,117,632
7Jun 8, 2026 05:1210,325350,018,273306,091,00034,648,0002,117,632
8Jun 8, 2026 05:1210,339350,482,548306,324,00034,865,0002,113,536
9Jun 8, 2026 05:1210,393352,281,594307,325,00035,651,0002,117,632