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 08:53Victor MerckléVictor MerckléScore: 109,164Success
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 08:54108,0913,242,736,8053,214,010,00010,996,0002,424,832stderr
2Apr 27, 2026 08:54108,3933,251,819,3883,220,569,00012,994,0002,420,736stderr
3Apr 27, 2026 08:54108,6893,260,691,8063,229,506,00011,994,0002,314,240stderr
4Apr 27, 2026 08:54108,8923,266,769,7373,237,384,00011,994,0002,424,832stderr
5Apr 27, 2026 08:54109,1643,274,921,0033,243,117,00010,993,0002,420,736stderr
6Apr 27, 2026 08:54109,3923,281,773,9823,244,332,00012,993,0002,547,712stderr
7Apr 27, 2026 08:54109,5963,287,894,1693,253,370,00013,992,0002,322,432stderr
8Apr 27, 2026 08:54109,8333,294,996,8673,260,745,0009,993,0002,482,176stderr
9Apr 27, 2026 08:54110,6313,318,954,1283,280,084,00016,990,0002,506,752stderr