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 16:25Robert BurkeRobert BurkeScore: 7,561Success
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 16:256,947287,814,334229,254,96802,269,184
2Jul 29, 2022 16:256,954280,901,649229,481,24802,260,992
3Jul 29, 2022 16:257,143301,788,122235,711,70902,277,376
4Jul 29, 2022 16:257,525274,342,967243,333,0005,006,0002,494,464
5Jul 29, 2022 16:257,541269,227,324245,844,0002,998,0002,371,584
6Jul 29, 2022 16:257,547271,775,158243,051,0006,001,0002,502,656
7Jul 29, 2022 16:257,561272,597,765246,521,0002,994,0002,363,392
8Jul 29, 2022 16:257,563274,334,225243,602,0005,990,0002,535,424
9Jul 29, 2022 16:257,575277,695,877244,968,0004,999,0002,281,472
10Jul 29, 2022 16:257,580271,058,749246,150,0004,002,0002,363,392
11Jul 29, 2022 16:257,591278,033,781244,525,0005,988,0002,510,848
12Jul 29, 2022 16:257,623282,582,861249,547,0001,996,0002,457,600