Unique strings Sergey Svistunov

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 listJun 20, 2023 06:42matsuoka-601matsuoka-601Score: 10,550Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2023 06:4210,403414,337,062343,311,83902,260,992
2Jun 20, 2023 06:4210,459370,580,317340,156,0004,987,0002,469,888
3Jun 20, 2023 06:4210,478406,487,241345,769,46302,260,992
4Jun 20, 2023 06:4210,478368,387,368340,782,0004,996,0002,330,624
5Jun 20, 2023 06:4210,496369,199,743340,393,0005,989,0002,322,432
6Jun 20, 2023 06:4210,525419,709,894347,323,03202,260,992
7Jun 20, 2023 06:4210,550371,464,664342,169,0005,985,0002,473,984
8Jun 20, 2023 06:4210,557373,813,736343,402,0004,991,0002,469,888
9Jun 20, 2023 06:4210,570370,835,744343,797,0004,997,0002,506,752
10Jun 20, 2023 06:4210,590373,609,461344,469,0004,992,0002,473,984
11Jun 20, 2023 06:4210,612376,126,968345,206,0005,002,0002,285,568
12Jun 20, 2023 06:4210,636374,335,831345,990,0004,999,0002,338,816