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 13:03Victor MerckléVictor MerckléScore: 163,011Success
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 13:05162,6474,879,433,3024,827,341,00027,984,0002,326,528stderr
2Apr 27, 2026 13:05162,6714,880,138,3644,827,774,00031,978,0002,330,624stderr
3Apr 27, 2026 13:05162,8024,884,077,0764,831,817,00031,978,0002,330,624stderr
4Apr 27, 2026 13:05162,9004,887,002,8804,830,120,00034,979,0002,330,624stderr
5Apr 27, 2026 13:05163,0114,890,348,1544,834,748,00034,976,0002,334,720stderr
6Apr 27, 2026 13:05163,0654,891,964,2384,835,247,00033,980,0002,330,624stderr
7Apr 27, 2026 13:05163,0774,892,336,4164,839,441,00034,981,0002,543,616stderr
8Apr 27, 2026 13:05163,3024,899,076,6634,841,567,00034,975,0002,330,624stderr
9Apr 27, 2026 13:05163,3574,900,725,1124,847,126,00033,972,0002,326,528stderr