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 12:06Victor MerckléVictor MerckléScore: 161,359Success
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 12:07160,5904,817,724,5394,766,840,00028,986,0002,326,528stderr
2Apr 27, 2026 12:07160,7544,822,640,2164,767,042,00035,977,0002,330,624stderr
3Apr 27, 2026 12:07160,9874,829,627,1124,766,071,00040,974,0002,330,624stderr
4Apr 27, 2026 12:07161,1514,834,534,6024,783,859,00029,980,0002,326,528stderr
5Apr 27, 2026 12:07161,3594,840,797,7184,784,241,00035,979,0002,330,624stderr
6Apr 27, 2026 12:07161,4594,843,781,0054,784,283,00034,980,0002,326,528stderr
7Apr 27, 2026 12:07161,5154,845,476,9774,787,758,00034,976,0002,326,528stderr
8Apr 27, 2026 12:07161,7324,851,963,1904,798,631,00032,976,0002,355,200stderr
9Apr 27, 2026 12:07162,2754,868,260,4764,813,726,00032,977,0002,351,104stderr