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 listFeb 13, 2024 15:18matsuoka-601matsuoka-601Score: 7,175Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 13, 2024 15:187,033288,459,020232,095,51902,285,568
2Feb 13, 2024 15:187,035302,731,542232,169,18602,273,280
3Feb 13, 2024 15:187,087312,374,055233,861,68102,293,760
4Feb 13, 2024 15:187,144264,214,780211,775,00023,974,0002,363,392
5Feb 13, 2024 15:187,159266,525,793216,228,00020,021,0002,506,752
6Feb 13, 2024 15:187,175258,654,212210,806,00025,976,0002,355,200
7Feb 13, 2024 15:187,175259,696,743213,806,00022,979,0002,371,584
8Feb 13, 2024 15:187,181261,140,538212,978,00023,997,0002,469,888
9Feb 13, 2024 15:187,196267,064,792209,537,00027,938,0002,351,104
10Feb 13, 2024 15:187,197264,814,629215,538,00021,952,0002,445,312
11Feb 13, 2024 15:187,206263,111,697216,804,00020,981,0002,424,832
12Feb 13, 2024 15:187,258271,171,170214,552,00024,947,0002,351,104