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:54Andrew EpsteinAndrew EpsteinScore: 124,862Success
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 03:02124,4483,733,443,7744,170,108,00043,223,0002,338,816stderr
2Oct 31, 2026 03:02124,5623,736,885,4194,179,460,00042,136,0002,338,816stderr
3Oct 31, 2026 03:02124,6573,739,718,1354,178,399,00043,063,0002,338,816stderr
4Oct 31, 2026 03:02124,8373,745,120,7854,179,152,00042,658,0002,338,816stderr
5Oct 31, 2026 03:02124,8623,745,884,5704,180,649,00046,208,0002,338,816stderr
6Oct 31, 2026 03:02128,3073,849,215,6824,283,645,00047,268,0002,338,816stderr
7Oct 31, 2026 03:02129,0313,870,946,1614,309,091,00044,801,0002,322,432stderr
8Oct 31, 2026 03:02131,1273,933,831,9224,364,274,00047,246,0002,334,720stderr
9Oct 31, 2026 03:02131,8723,956,160,0054,390,374,00048,193,0002,338,816stderr