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:24Victor MerckléVictor MerckléScore: 87,463Success
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:2575,0392,484,116,0332,436,282,00040,010,0002,117,632stderr
2Jun 27, 2026 12:2577,9952,581,689,3432,532,574,00041,262,0002,117,632stderr
3Jun 27, 2026 12:2578,0582,584,122,2242,535,884,00040,031,0002,117,632stderr
4Jun 27, 2026 12:2583,6312,767,682,7322,718,935,00040,889,0002,117,632stderr
5Jun 27, 2026 12:2587,4632,894,344,5222,844,821,00041,465,0002,117,632stderr
6Jun 27, 2026 12:2587,5192,895,899,4762,846,977,00041,178,0002,117,632stderr
7Jun 27, 2026 12:2587,7272,902,800,1112,853,833,00041,179,0002,117,632stderr
8Jun 27, 2026 12:2588,0632,913,884,1782,864,947,00041,149,0002,117,632stderr
9Jun 27, 2026 12:2588,5182,929,932,0872,878,896,00042,225,0002,117,632stderr