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 listFeb 13, 2024 12:38matsuoka-601matsuoka-601Score: 6,968Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 13, 2024 12:386,927256,983,362207,615,00020,961,0002,396,160
2Feb 13, 2024 12:386,929286,490,801228,654,60502,183,168
3Feb 13, 2024 12:386,940253,032,887210,022,00019,002,0002,306,048
4Feb 13, 2024 12:386,941305,928,074229,050,77302,191,360
5Feb 13, 2024 12:386,949260,587,960210,290,00019,026,0002,281,472
6Feb 13, 2024 12:386,967258,394,754211,905,00017,991,0002,412,544
7Feb 13, 2024 12:386,968260,627,809207,943,00021,994,0002,392,064
8Feb 13, 2024 12:386,969304,044,106229,980,84802,306,048
9Feb 13, 2024 12:386,987259,727,837211,612,00018,965,0002,461,696
10Feb 13, 2024 12:386,988259,471,693209,638,00020,963,0002,457,600
11Feb 13, 2024 12:386,996260,891,287211,880,00018,989,0002,367,488
12Feb 13, 2024 12:387,035255,094,446212,128,00020,012,0002,387,968