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 18, 2023 09:18matsuoka-601matsuoka-601Score: 14,084Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 09:1812,660498,790,561417,788,78902,306,048
2Jun 18, 2023 09:1813,602514,073,488448,872,45002,174,976
3Jun 18, 2023 09:1813,944530,853,424460,145,01202,301,952
4Jun 18, 2023 09:1813,959485,620,650385,699,00074,941,0002,387,968
5Jun 18, 2023 09:1813,979486,751,353384,434,00076,886,0002,371,584
6Jun 18, 2023 09:1814,014488,584,623389,543,00072,914,0002,367,488
7Jun 18, 2023 09:1814,084488,382,763383,825,00080,963,0002,514,944
8Jun 18, 2023 09:1814,216496,171,171399,271,00069,872,0002,478,080
9Jun 18, 2023 09:1814,296493,894,499387,821,00083,961,0002,375,680
10Jun 18, 2023 09:1814,384502,003,856396,719,00077,944,0002,314,240
11Jun 18, 2023 09:1814,387500,436,716395,820,00078,964,0002,469,888
12Jun 18, 2023 09:1814,550503,495,684394,313,00085,850,0002,371,584