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 7, 2024 14:35Nick RolfeNick RolfeScore: 371,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 7, 2024 14:35368,88612,206,305,57712,140,248,00032,981,0002,473,984
2Dec 7, 2024 14:35369,26112,227,760,80112,152,648,00032,980,0002,437,120
3Dec 7, 2024 14:35370,48912,262,280,91812,189,156,00036,979,0002,490,368
4Dec 7, 2024 14:35371,44112,296,044,99612,232,563,00024,986,0002,297,856
5Dec 7, 2024 14:35371,65512,293,432,84112,238,624,00025,986,0002,338,816
6Dec 7, 2024 14:35371,89712,305,645,02612,241,609,00030,983,0002,297,856
7Dec 7, 2024 14:35372,80912,341,449,76112,273,707,00028,982,0002,527,232
8Dec 7, 2024 14:35372,95412,339,901,76812,276,504,00030,981,0002,273,280
9Dec 7, 2024 14:35373,03012,344,289,02612,280,024,00029,980,0002,445,312