Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 listApr 27, 2026 11:39Victor MerckléVictor MerckléScore: 460,532Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 11:45459,43013,782,915,90413,516,308,000238,828,0002,514,944stderr
2Apr 27, 2026 11:45459,56613,786,992,16113,487,488,000266,811,0002,334,720stderr
3Apr 27, 2026 11:45460,10513,803,178,49813,559,511,000213,850,0002,514,944stderr
4Apr 27, 2026 11:45460,27813,808,362,96813,560,315,000219,842,0002,392,064stderr
5Apr 27, 2026 11:45460,53213,815,986,06913,558,769,000231,842,0002,375,680stderr
6Apr 27, 2026 11:45461,48913,844,676,04013,587,465,000229,838,0002,527,232stderr
7Apr 27, 2026 11:45461,75613,852,708,02113,587,188,000236,828,0002,351,104stderr
8Apr 27, 2026 11:45461,82613,854,784,39013,603,798,000224,831,0002,560,000stderr
9Apr 27, 2026 11:45462,31613,869,484,45213,577,566,000262,798,0002,506,752stderr