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 18, 2026 13:59Charles CabergsCharles CabergsScore: 25,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2026 13:5924,285728,538,4851,945,674,000113,805,0002,646,016
2Apr 18, 2026 13:5924,422732,651,8391,952,961,000110,827,0002,584,576
3Apr 18, 2026 13:5924,701741,029,6071,989,204,000107,902,0002,461,696
4Apr 18, 2026 13:5924,875746,243,8421,980,758,000120,741,0002,580,480
5Apr 18, 2026 13:5925,314759,431,2792,039,798,000112,767,0002,940,928
6Apr 18, 2026 13:5925,407762,204,7792,036,406,000113,910,0002,789,376
7Apr 18, 2026 13:5925,542766,253,0082,026,676,000124,672,0002,629,632
8Apr 18, 2026 13:5925,585767,561,5422,030,862,000127,802,0002,826,240
9Apr 18, 2026 13:5925,740772,200,5052,066,845,000114,713,0002,744,320