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 12, 2024 15:16Joad NacerJoad NacerScore: 12,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 15:1611,571407,433,141322,880,00058,978,0002,420,736
2May 12, 2024 15:1611,620410,971,111325,555,00057,920,0002,490,368
3May 12, 2024 15:1611,680470,407,715385,450,05402,244,608
4May 12, 2024 15:1611,727454,659,848386,978,72302,228,224
5May 12, 2024 15:1612,178424,446,914343,899,00057,983,0002,428,928
6May 12, 2024 15:1612,227432,917,875344,566,00058,925,0002,273,280
7May 12, 2024 15:1612,347432,291,187345,524,00061,914,0002,465,792
8May 12, 2024 15:1612,452435,797,415351,931,00058,988,0002,502,656
9May 12, 2024 15:1612,716482,766,040419,632,05402,232,320
10May 12, 2024 15:1612,869445,390,795367,716,00056,956,0002,285,568
11May 12, 2024 15:1613,738482,436,789394,442,00058,916,0002,371,584
12May 12, 2024 15:1613,764475,754,006396,318,00057,900,0002,428,928