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:24Victor MerckléVictor MerckléScore: 97,297Success
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:2596,7632,902,894,8472,849,338,00036,978,0002,777,088
2Apr 27, 2026 13:2596,8032,904,110,7602,852,899,00031,987,0002,306,048
3Apr 27, 2026 13:2596,9212,907,647,1312,847,362,00040,976,0002,306,048
4Apr 27, 2026 13:2597,2492,917,472,8862,866,637,00033,983,0002,306,048
5Apr 27, 2026 13:2597,2972,918,930,9312,862,382,00038,977,0002,547,712
6Apr 27, 2026 13:2597,7902,933,726,1762,878,522,00033,982,0002,306,048
7Apr 27, 2026 13:2598,1772,945,338,3802,887,776,00035,984,0002,551,808
8Apr 27, 2026 13:2598,2982,948,955,5882,898,558,00028,985,0002,551,808
9Apr 27, 2026 13:2598,5612,956,845,3032,901,164,00032,979,0002,306,048