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:31Robert BurkeRobert BurkeScore: 7,529Success
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:316,909299,939,913228,003,33402,265,088
2Jul 29, 2022 16:316,910287,518,962228,041,80202,269,184
3Jul 29, 2022 16:316,935282,095,618228,868,96902,265,088
4Jul 29, 2022 16:317,491267,441,972242,190,0005,003,0002,289,664
5Jul 29, 2022 16:317,523274,131,135242,239,0006,005,0002,457,600
6Jul 29, 2022 16:317,527269,334,670242,381,0006,009,0002,457,600
7Jul 29, 2022 16:317,529277,452,522245,478,0002,993,0002,383,872
8Jul 29, 2022 16:317,560280,601,862243,493,0005,987,0002,445,312
9Jul 29, 2022 16:317,567272,711,717245,727,0003,995,0002,371,584
10Jul 29, 2022 16:317,577278,268,121244,055,0006,001,0002,371,584
11Jul 29, 2022 16:317,583274,490,065246,266,0003,988,0002,412,544
12Jul 29, 2022 16:317,599274,897,432245,761,0004,995,0002,494,464