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 listJun 16, 2024 03:08matsuoka-601matsuoka-601Score: 6,835Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 03:086,736292,937,596222,272,37602,306,048
2Jun 16, 2024 03:086,743293,560,086222,528,23602,207,744
3Jun 16, 2024 03:086,753306,972,518222,843,73202,318,336
4Jun 16, 2024 03:086,769284,764,293223,372,52602,195,456
5Jun 16, 2024 03:086,789306,954,023224,037,85602,297,856
6Jun 16, 2024 03:086,795292,045,768224,218,50002,310,144
7Jun 16, 2024 03:086,828250,283,124208,303,00017,024,0002,387,968
8Jun 16, 2024 03:086,835252,012,195209,588,00015,968,0002,490,368
9Jun 16, 2024 03:086,838253,815,804206,691,00018,971,0002,486,272
10Jun 16, 2024 03:086,842253,609,392203,796,00021,978,0002,277,376
11Jun 16, 2024 03:086,845250,221,661202,897,00022,988,0002,265,088
12Jun 16, 2024 03:086,857250,128,333207,252,00019,023,0002,273,280
13Jun 16, 2024 03:086,865254,262,993208,595,00017,965,0002,510,848
14Jun 16, 2024 03:086,865255,101,974205,602,00020,959,0002,428,928
15Jun 16, 2024 03:086,868250,786,614203,690,00022,965,0002,375,680