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 listMay 11, 2026 06:26Victor MerckléVictor MerckléScore: 101,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2026 06:27100,3343,321,520,1383,276,102,00034,931,0002,117,632stderr
2May 11, 2026 06:27100,5343,328,445,2173,283,041,00034,586,0002,117,632stderr
3May 11, 2026 06:27100,5933,328,958,0533,284,309,00035,284,0002,117,632stderr
4May 11, 2026 06:27100,6473,330,510,7673,286,541,00034,829,0002,117,632stderr
5May 11, 2026 06:27101,2633,350,866,2893,303,481,00038,209,0002,117,632stderr
6May 11, 2026 06:27101,4133,356,769,6483,310,411,00036,230,0002,117,632stderr
7May 11, 2026 06:27101,4473,357,759,8863,312,050,00035,723,0002,117,632stderr
8May 11, 2026 06:27102,6883,399,262,8443,352,652,00036,084,0002,117,632stderr
9May 11, 2026 06:27102,7333,399,589,3813,354,357,00035,852,0002,117,632stderr