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 16:00Shikhar SoniShikhar SoniScore: 49,137Success
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 16:0148,9721,469,181,2971,292,365,000166,856,0002,117,632
2Jun 26, 2026 16:0149,0991,472,981,3051,293,581,000169,146,0002,117,632
3Jun 26, 2026 16:0149,1331,473,990,3881,296,482,000167,524,0002,117,632
4Jun 26, 2026 16:0149,1361,474,100,0581,295,238,000168,762,0002,117,632
5Jun 26, 2026 16:0149,1371,474,136,0251,293,333,000170,651,0002,117,632
6Jun 26, 2026 16:0149,1831,475,505,9901,295,826,000169,536,0002,117,632
7Jun 26, 2026 16:0149,2191,476,575,9071,298,716,000167,664,0002,117,632
8Jun 26, 2026 16:0149,2351,477,078,2501,295,170,000171,666,0002,117,632
9Jun 26, 2026 16:0149,2811,478,437,0101,296,824,000171,485,0002,113,536