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 18, 2026 07:45Charles CabergsCharles CabergsScore: 25,324Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2026 07:4525,186755,585,0121,997,037,00075,887,0002,707,456
2Apr 18, 2026 07:4525,205756,150,6921,988,386,00071,941,0002,592,768
3Apr 18, 2026 07:4525,218756,535,4411,993,078,00079,882,0002,760,704
4Apr 18, 2026 07:4525,280758,387,7261,983,556,00084,938,0002,768,896
5Apr 18, 2026 07:4525,324759,726,4811,988,666,00084,943,0002,392,064
6Apr 18, 2026 07:4525,325759,743,6691,991,430,00081,976,0002,850,816
7Apr 18, 2026 07:4525,468764,033,2832,003,996,00073,889,0002,736,128
8Apr 18, 2026 07:4526,563796,903,4132,121,498,00073,878,0002,682,880
9Apr 18, 2026 07:4526,631798,922,7552,110,218,00086,844,0002,760,704