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 28, 2026 19:15Victor MerckléVictor MerckléScore: 40,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2026 19:1640,1431,204,297,3883,299,926,00044,985,0002,723,840
2Apr 28, 2026 19:1640,5441,216,331,0913,329,405,00044,991,0002,719,744
3Apr 28, 2026 19:1640,5771,217,310,8383,328,374,00038,969,0002,363,392
4Apr 28, 2026 19:1640,5831,217,513,0373,302,800,00031,969,0002,756,608
5Apr 28, 2026 19:1640,6221,218,677,3093,319,428,00036,971,0002,715,648
6Apr 28, 2026 19:1640,6451,219,352,5423,332,462,00035,972,0002,564,096
7Apr 28, 2026 19:1640,6591,219,792,0593,324,395,00038,981,0002,547,712
8Apr 28, 2026 19:1640,8371,225,122,3183,375,073,00041,963,0002,506,752
9Apr 28, 2026 19:1640,8831,226,491,5263,323,304,00041,965,0002,719,744