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 listMay 3, 2026 20:49TudyMTudyMScore: 234,884Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 20:54188,9185,667,544,0202,006,987,0001,499,101,0002,502,656
2May 3, 2026 20:54189,8565,695,689,8081,982,812,0001,514,878,0002,482,176
3May 3, 2026 20:54200,1916,005,749,8381,980,142,0001,520,707,0002,760,704
4May 3, 2026 20:54222,0866,662,601,7471,986,669,0001,519,069,0002,748,416
5May 3, 2026 20:54234,8847,046,533,5621,995,719,0001,539,110,0002,764,800
6May 3, 2026 20:54236,4767,094,304,4432,003,269,0001,682,068,0002,715,648
7May 3, 2026 20:54241,3567,240,699,7451,976,834,0001,673,955,0002,723,840
8May 3, 2026 20:54246,4487,393,461,3971,978,082,0001,537,548,0002,719,744
9May 3, 2026 20:54249,0937,472,790,7671,963,419,0001,692,115,0002,674,688