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 06:15Robert BurkeRobert BurkeScore: 9,077Success
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 06:158,709338,655,691287,406,07402,281,472
2Jul 29, 2022 06:158,742354,256,745288,492,91402,277,376
3Jul 29, 2022 06:158,754348,284,514288,865,74302,285,568
4Jul 29, 2022 06:159,028323,674,178293,924,0003,998,0002,367,488
5Jul 29, 2022 06:159,046327,943,866294,510,0003,993,0002,359,296
6Jul 29, 2022 06:159,053320,922,072293,768,0004,996,0002,281,472
7Jul 29, 2022 06:159,077322,071,307294,547,0004,992,0002,338,816
8Jul 29, 2022 06:159,084320,822,239294,790,0004,996,0002,359,296
9Jul 29, 2022 06:159,106325,132,685296,507,0003,993,0002,322,432
10Jul 29, 2022 06:159,139326,070,964296,599,0004,993,0002,367,488
11Jul 29, 2022 06:159,153322,976,385299,051,0003,000,0002,461,696
12Jul 29, 2022 06:159,207325,821,207299,828,0003,997,0002,318,336