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 28, 2026 05:33Victor MerckléVictor MerckléScore: 93,810Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 05:3593,0633,079,583,5933,052,435,00018,646,0002,117,632stderr
2Jun 28, 2026 05:3593,0773,080,037,6613,052,816,00018,747,0002,117,632stderr
3Jun 28, 2026 05:3593,0913,080,266,4293,053,144,00018,860,0002,117,632stderr
4Jun 28, 2026 05:3593,6993,100,487,1183,073,440,00018,653,0002,117,632stderr
5Jun 28, 2026 05:3593,8103,104,157,0253,076,756,00019,001,0002,117,632stderr
6Jun 28, 2026 05:3594,0893,113,092,2623,085,983,00018,984,0002,117,632stderr
7Jun 28, 2026 05:3594,1473,115,081,7323,088,010,00018,854,0002,117,632stderr
8Jun 28, 2026 05:3594,2803,119,657,4933,092,662,00018,594,0002,117,632stderr
9Jun 28, 2026 05:3594,3413,121,243,0603,094,324,00018,934,0002,117,632stderr