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 listJul 3, 2026 14:39A_ShamanA_ShamanScore: 92,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 14:4092,1002,763,008,4242,711,623,00041,710,0002,117,632
2Jul 3, 2026 14:4092,1082,763,263,7542,711,786,00041,702,0002,113,536
3Jul 3, 2026 14:4092,1412,764,236,0022,712,588,00041,810,0002,113,536
4Jul 3, 2026 14:4092,3402,770,215,8882,718,793,00041,595,0002,117,632
5Jul 3, 2026 14:4092,3402,770,202,4652,719,019,00041,491,0002,117,632
6Jul 3, 2026 14:4092,6542,779,646,9932,727,892,00041,705,0002,117,632
7Jul 3, 2026 14:4092,6992,780,997,8132,729,488,00041,546,0002,117,632
8Jul 3, 2026 14:4093,2842,798,528,9962,746,979,00041,665,0002,113,536
9Jul 3, 2026 14:4093,6022,808,086,4992,756,917,00041,510,0002,117,632