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 09:12Victor MerckléVictor MerckléScore: 398,744Success
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 09:15395,76811,873,046,98711,778,133,00064,962,0002,404,352stderr
2Apr 27, 2026 09:15396,03611,881,094,48411,806,350,00051,970,0002,506,752stderr
3Apr 27, 2026 09:15396,10111,883,036,74211,799,496,00058,967,0002,322,432stderr
4Apr 27, 2026 09:15397,32211,919,662,90711,830,067,00064,961,0002,457,600stderr
5Apr 27, 2026 09:15398,74411,962,339,91011,887,331,00050,971,0002,449,408stderr
6Apr 27, 2026 09:15399,17611,975,308,28811,896,291,00052,970,0002,760,704stderr
7Apr 27, 2026 09:15399,72511,991,752,44811,905,366,00058,962,0002,412,544stderr
8Apr 27, 2026 09:15399,90511,997,157,38411,920,444,00050,971,0002,371,584stderr
9Apr 27, 2026 09:15400,24812,007,441,58311,921,119,00058,961,0002,306,048stderr