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 listDec 19, 2023 05:57Kenneth MaplesKenneth MaplesScore: 18,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 05:5718,165669,450,987599,458,93902,236,416
2Dec 19, 2023 05:5718,173669,870,455599,694,69802,232,320
3Dec 19, 2023 05:5718,269673,185,919602,866,93902,232,320
4Dec 19, 2023 05:5718,367630,682,287588,116,00018,003,0002,277,376
5Dec 19, 2023 05:5718,385636,893,926584,730,00021,989,0002,277,376
6Dec 19, 2023 05:5718,499642,307,943586,503,00023,979,0002,306,048
7Dec 19, 2023 05:5718,507638,359,135591,731,00018,991,0002,277,376
8Dec 19, 2023 05:5718,513637,474,872592,930,00017,997,0002,433,024
9Dec 19, 2023 05:5718,683641,030,814596,553,00019,985,0002,306,048
10Dec 19, 2023 05:5718,786648,567,642597,963,00021,961,0002,310,144
11Dec 19, 2023 05:5718,801643,764,230600,446,00019,981,0002,310,144
12Dec 19, 2023 05:5718,802644,516,765601,483,00018,983,0002,449,408