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 listMay 21, 2024 18:13Joad NacerJoad NacerScore: 9,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2024 18:139,182326,937,935247,009,00056,002,0002,404,352
2May 21, 2024 18:139,187325,211,489245,129,00058,030,0002,428,928
3May 21, 2024 18:139,191332,153,792247,429,00055,871,0002,433,024
4May 21, 2024 18:139,233328,012,866246,760,00057,943,0002,433,024
5May 21, 2024 18:139,290330,771,274250,657,00055,923,0002,424,832
6May 21, 2024 18:139,313331,071,355250,450,00056,875,0002,424,832
7May 21, 2024 18:139,336374,382,987308,086,85002,359,296
8May 21, 2024 18:139,340335,277,852255,187,00053,038,0002,277,376
9May 21, 2024 18:139,364365,555,160309,003,27002,240,512
10May 21, 2024 18:139,392363,243,794309,942,62202,240,512
11May 21, 2024 18:139,472335,892,444255,641,00056,920,0002,416,640
12May 21, 2024 18:139,476336,195,164253,763,00058,945,0002,293,760