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 08:04Andrew EpsteinAndrew EpsteinScore: 124,490Success
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 08:10123,6633,709,898,0944,118,522,00040,127,0002,326,528stderr
2Oct 31, 2026 08:10123,8283,714,850,8194,124,033,00043,428,0002,330,624stderr
3Oct 31, 2026 08:10124,0333,721,008,3954,134,557,00040,469,0002,314,240stderr
4Oct 31, 2026 08:10124,4183,732,565,2884,141,006,00040,427,0002,326,528stderr
5Oct 31, 2026 08:10124,4903,734,707,8744,145,598,00044,614,0002,330,624stderr
6Oct 31, 2026 08:10129,5483,886,446,1664,291,031,00048,030,0002,326,528stderr
7Oct 31, 2026 08:10130,2613,907,854,6154,360,627,00044,037,0002,236,416stderr
8Oct 31, 2026 08:10139,1524,174,564,0084,553,956,000110,176,0002,207,744stderr
9Oct 31, 2026 08:10139,8254,194,777,1104,626,220,00046,032,0002,301,952stderr