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 14, 2026 17:03Josu San MartinJosu San MartinScore: 110,264Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2026 17:17109,1333,274,018,8223,242,985,00023,457,0002,113,536
2May 14, 2026 17:17109,2713,278,130,4883,244,553,00024,405,0002,113,536
3May 14, 2026 17:17109,3093,279,279,4853,244,256,00025,341,0002,113,536
4May 14, 2026 17:17109,4873,284,625,9993,253,771,00023,454,0002,113,536
5May 14, 2026 17:17110,2643,307,923,8813,274,859,00023,836,0002,113,536
6May 14, 2026 17:17110,4033,312,104,8473,279,408,00022,805,0002,113,536
7May 14, 2026 17:17111,4793,344,397,5743,312,533,00024,475,0002,113,536
8May 14, 2026 17:17111,4993,344,976,8683,312,764,00024,772,0002,113,536
9May 14, 2026 17:17111,6653,349,970,9923,317,069,00023,773,0002,113,536