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 27, 2026 15:26Victor MerckléVictor MerckléScore: 124,977Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 15:27114,1823,776,033,5743,722,940,00045,075,0002,121,728stderr
2Jun 27, 2026 15:27115,0553,805,209,2143,751,871,00044,956,0002,117,632stderr
3Jun 27, 2026 15:27120,3463,979,671,1263,926,380,00045,045,0002,117,632stderr
4Jun 27, 2026 15:27120,5623,986,919,4223,933,585,00044,989,0002,117,632stderr
5Jun 27, 2026 15:27124,9774,132,583,1454,078,282,00045,967,0002,117,632stderr
6Jun 27, 2026 15:27125,9924,165,615,1004,112,683,00045,075,0002,117,632stderr
7Jun 27, 2026 15:27126,6054,186,425,7164,133,243,00044,751,0002,117,632stderr
8Jun 27, 2026 15:27128,1624,237,741,8994,184,401,00044,958,0002,121,728stderr
9Jun 27, 2026 15:27131,1084,334,475,5874,281,620,00044,951,0002,117,632stderr