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 listJun 26, 2026 15:32Shikhar SoniShikhar SoniScore: 46,189Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2026 15:3446,1311,383,933,2871,319,787,00054,102,0002,117,632
2Jun 26, 2026 15:3446,1441,384,334,9531,320,295,00053,929,0002,117,632
3Jun 26, 2026 15:3446,1671,385,028,6181,321,685,00053,201,0002,117,632
4Jun 26, 2026 15:3446,1871,385,617,7481,320,514,00054,370,0002,117,632
5Jun 26, 2026 15:3446,1891,385,692,5971,321,953,00053,509,0002,117,632
6Jun 26, 2026 15:3446,1931,385,815,8801,320,456,00055,238,0002,117,632
7Jun 26, 2026 15:3446,2141,386,437,9041,322,388,00053,940,0002,117,632
8Jun 26, 2026 15:3446,2381,387,154,5191,322,729,00053,934,0002,117,632
9Jun 26, 2026 15:3446,2871,388,621,8241,324,165,00054,265,0002,117,632