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 05:43Andrew EpsteinAndrew EpsteinScore: 124,675Success
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 05:44124,0493,721,488,8164,148,811,00044,553,0002,232,320stderr
2Oct 31, 2026 05:44124,0893,722,684,2834,161,350,00043,822,0002,301,952stderr
3Oct 31, 2026 05:44124,2273,726,839,8864,163,628,00042,147,0002,260,992stderr
4Oct 31, 2026 05:44124,2383,727,145,0664,151,349,00045,734,0002,232,320stderr
5Oct 31, 2026 05:44124,6753,740,264,1004,171,291,00045,165,0002,117,632stderr
6Oct 31, 2026 05:44124,8873,746,635,2414,174,656,00045,297,0002,232,320stderr
7Oct 31, 2026 05:44138,5454,156,358,6424,577,567,00051,392,0002,117,632stderr
8Oct 31, 2026 05:44143,3794,301,376,6554,754,788,00058,781,0002,117,632stderr
9Oct 31, 2026 05:44147,2464,417,403,0984,907,621,00044,890,0002,211,840stderr