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 listOct 31, 2026 02:32Andrew EpsteinAndrew EpsteinScore: 341,237Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 02:40334,56210,036,879,90910,357,266,00033,064,0002,527,232stderr
2Oct 31, 2026 02:40334,62010,038,617,84710,346,201,00032,899,0002,437,120stderr
3Oct 31, 2026 02:40337,41210,122,362,23610,438,201,00035,151,0002,252,800stderr
4Oct 31, 2026 02:40340,89710,226,932,21410,534,684,00036,599,0002,158,592stderr
5Oct 31, 2026 02:40341,23710,237,128,83610,546,052,00036,351,0002,523,136stderr
6Oct 31, 2026 02:40341,55510,246,659,60410,554,661,00035,860,0002,281,472stderr
7Oct 31, 2026 02:40341,72110,251,633,61010,561,880,00035,641,0002,461,696stderr
8Oct 31, 2026 02:40343,13710,294,121,89510,588,681,00043,386,0002,367,488stderr
9Oct 31, 2026 02:40367,82011,034,607,05411,378,894,00040,918,0002,351,104stderr