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 05:47Robert BurkeRobert BurkeScore: 11,780Success
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 05:4711,388444,289,916375,804,66102,285,568
2Jul 29, 2022 05:4711,390432,119,590375,860,94802,289,664
3Jul 29, 2022 05:4711,509439,492,027379,806,02502,289,664
4Jul 29, 2022 05:4711,719413,688,346353,736,00032,975,0002,506,752
5Jul 29, 2022 05:4711,722415,379,511350,828,00035,982,0002,281,472
6Jul 29, 2022 05:4711,745413,268,823361,628,00025,973,0002,510,848
7Jul 29, 2022 05:4711,780411,806,811355,751,00032,976,0002,506,752
8Jul 29, 2022 05:4711,829415,327,449359,332,00031,028,0002,535,424
9Jul 29, 2022 05:4711,869413,940,905359,696,00031,973,0002,322,432
10Jul 29, 2022 05:4711,874415,206,793358,864,00032,987,0002,535,424
11Jul 29, 2022 05:4711,893422,949,638362,439,00030,036,0002,510,848
12Jul 29, 2022 05:4711,899417,455,503360,689,00031,972,0002,519,040