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 28, 2024 16:19Joad NacerJoad NacerScore: 8,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 16:197,952323,896,693262,427,57502,232,320
2May 28, 2024 16:198,011324,480,486264,354,85802,240,512
3May 28, 2024 16:198,178303,023,733212,907,00056,975,0002,502,656
4May 28, 2024 16:198,201294,305,969215,718,00054,928,0002,437,120
5May 28, 2024 16:198,210341,712,195270,938,40502,224,128
6May 28, 2024 16:198,249298,644,523216,178,00056,046,0002,433,024
7May 28, 2024 16:198,263295,280,849215,743,00056,932,0002,392,064
8May 28, 2024 16:198,265294,971,930214,789,00057,943,0002,281,472
9May 28, 2024 16:198,269295,874,763215,890,00056,971,0002,433,024
10May 28, 2024 16:198,293296,325,572214,729,00058,925,0002,433,024
11May 28, 2024 16:198,300301,451,079216,925,00056,980,0002,334,720
12May 28, 2024 16:198,330304,087,994215,913,00058,976,0002,359,296