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 21, 2026 11:53Victor MerckléVictor MerckléScore: 49,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2026 11:5448,8511,620,012,9191,572,632,00039,451,0002,117,632stderr
2Jun 21, 2026 11:5449,0131,625,506,9571,577,129,00040,320,0002,117,632stderr
3Jun 21, 2026 11:5449,0241,625,778,3511,577,194,00040,614,0002,117,632stderr
4Jun 21, 2026 11:5449,0571,626,947,9411,578,550,00040,335,0002,117,632stderr
5Jun 21, 2026 11:5449,0591,626,791,2951,579,565,00039,399,0002,117,632stderr
6Jun 21, 2026 11:5449,0651,626,795,5201,579,802,00039,363,0002,117,632stderr
7Jun 21, 2026 11:5449,1481,629,744,6131,582,427,00039,485,0002,117,632stderr
8Jun 21, 2026 11:5449,1571,629,938,9211,582,826,00039,355,0002,117,632stderr
9Jun 21, 2026 11:5449,2241,632,409,8341,585,045,00039,361,0002,117,632stderr