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 11, 2024 23:11Joad NacerJoad NacerScore: 12,041Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 23:1111,957418,146,277334,646,00059,936,0002,412,544
2May 11, 2024 23:1111,966422,326,627336,896,00057,982,0002,322,432
3May 11, 2024 23:1111,971423,536,339338,048,00057,008,0002,400,256
4May 11, 2024 23:1111,976425,640,325331,350,00063,874,0002,404,352
5May 11, 2024 23:1112,015418,985,894336,558,00059,921,0002,400,256
6May 11, 2024 23:1112,041422,493,489337,449,00059,902,0002,404,352
7May 11, 2024 23:1112,041427,950,013335,468,00061,901,0002,281,472
8May 11, 2024 23:1112,064423,692,057337,108,00061,019,0002,404,352
9May 11, 2024 23:1112,076426,934,855338,579,00059,925,0002,392,064
10May 11, 2024 23:1112,218472,850,094403,207,02802,211,840
11May 11, 2024 23:1112,316458,942,964406,437,35602,207,744
12May 11, 2024 23:1112,618494,973,607416,396,04702,199,552