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 listJul 3, 2026 05:08Victor MerckléVictor MerckléScore: 124,083Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 05:10121,6973,650,923,9593,763,954,00032,857,0002,641,920stderr
2Jul 3, 2026 05:10121,9693,659,087,7223,773,226,00033,558,0002,637,824stderr
3Jul 3, 2026 05:10122,0073,660,214,5693,775,953,00032,662,0002,637,824stderr
4Jul 3, 2026 05:10123,7923,713,760,4253,825,964,00031,802,0002,379,776stderr
5Jul 3, 2026 05:10124,0833,722,515,8483,834,502,00031,985,0002,637,824stderr
6Jul 3, 2026 05:10125,9143,777,426,4443,891,650,00033,093,0002,637,824stderr
7Jul 3, 2026 05:10140,4294,212,892,2474,320,935,00036,024,0002,379,776stderr
8Jul 3, 2026 05:10140,5904,217,716,7524,327,175,00034,289,0002,383,872stderr
9Jul 3, 2026 05:10140,6284,218,855,4064,331,784,00034,823,0002,383,872stderr