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 listApr 23, 2026 23:02olliecrowolliecrowScore: 70,169Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2026 23:0469,7852,093,567,7772,064,626,00017,996,0002,605,056stderr
2Apr 23, 2026 23:0469,7872,093,618,9072,051,971,00022,954,0002,703,360stderr
3Apr 23, 2026 23:0469,9402,098,228,5642,064,729,00018,988,0002,703,360stderr
4Apr 23, 2026 23:0469,9552,098,674,4922,062,521,00018,995,0002,695,168stderr
5Apr 23, 2026 23:0470,1692,105,083,1872,074,270,00019,002,0002,408,448stderr
6Apr 23, 2026 23:0470,2222,106,688,1152,071,738,00019,006,0002,437,120stderr
7Apr 23, 2026 23:0470,5432,116,317,3342,080,767,00022,986,0002,678,784stderr
8Apr 23, 2026 23:0471,2242,136,728,9062,103,127,00014,993,0002,437,120stderr
9Apr 23, 2026 23:0472,3402,170,216,5382,136,162,00019,028,0002,703,360stderr