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 12:54Victor MerckléVictor MerckléScore: 74,938Success
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 12:5569,8872,314,238,7732,266,342,00039,935,0002,117,632stderr
2Jun 27, 2026 12:5572,3032,393,945,0762,343,776,00042,236,0002,117,632stderr
3Jun 27, 2026 12:5574,1652,455,495,4552,406,204,00041,249,0002,117,632stderr
4Jun 27, 2026 12:5574,3042,460,749,3972,409,986,00042,067,0002,117,632stderr
5Jun 27, 2026 12:5574,9382,480,700,1132,430,688,00042,281,0002,117,632stderr
6Jun 27, 2026 12:5575,3632,495,067,6422,444,992,00042,015,0002,117,632stderr
7Jun 27, 2026 12:5578,9562,614,181,7102,564,391,00041,172,0002,117,632stderr
8Jun 27, 2026 12:5582,2382,722,027,3202,671,751,00042,129,0002,117,632stderr
9Jun 27, 2026 12:5582,7132,737,401,8452,689,351,00040,199,0002,117,632stderr