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 listJul 29, 2022 06:07Robert BurkeRobert BurkeScore: 7,573Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 06:077,049297,700,951232,631,08302,273,280
2Jul 29, 2022 06:077,059294,309,043232,949,03502,277,376
3Jul 29, 2022 06:077,139296,366,632235,590,52502,265,088
4Jul 29, 2022 06:077,455270,458,517241,018,0005,000,0002,371,584
5Jul 29, 2022 06:077,513269,926,127242,920,0004,998,0002,326,528
6Jul 29, 2022 06:077,562275,488,265245,554,0003,992,0002,375,680
7Jul 29, 2022 06:077,573273,835,189246,907,0002,998,0002,367,488
8Jul 29, 2022 06:077,589278,934,096246,437,0003,990,0002,371,584
9Jul 29, 2022 06:077,614279,577,452246,259,0005,005,0002,359,296
10Jul 29, 2022 06:077,621278,290,842247,487,0003,991,0002,449,408
11Jul 29, 2022 06:077,649274,861,142248,431,0003,990,0002,363,392
12Jul 29, 2022 06:077,689273,887,587251,736,0001,997,0002,371,584