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 7, 2026 05:55Victor MerckléVictor MerckléScore: 67,471Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:5766,4851,994,563,2332,133,271,0007,958,0002,637,824stderr
2Jul 7, 2026 05:5766,6902,000,718,6942,137,037,00010,295,0002,637,824stderr
3Jul 7, 2026 05:5767,2412,017,231,3032,155,512,0008,076,0002,383,872stderr
4Jul 7, 2026 05:5767,2892,018,685,8992,154,092,0009,166,0002,637,824stderr
5Jul 7, 2026 05:5767,4712,024,139,7502,160,491,0007,974,0002,383,872stderr
6Jul 7, 2026 05:5767,4852,024,561,8362,163,177,0007,780,0002,400,256stderr
7Jul 7, 2026 05:5767,5752,027,264,4752,162,730,0009,941,0002,641,920stderr
8Jul 7, 2026 05:5767,6982,030,956,8542,167,884,0007,982,0002,641,920stderr
9Jul 7, 2026 05:5767,9062,037,204,1272,171,448,00010,029,0002,641,920stderr