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 12, 2024 16:14Joad NacerJoad NacerScore: 10,434Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 16:1410,033359,132,627274,067,00057,013,0002,281,472
2May 12, 2024 16:1410,095360,054,956277,125,00056,025,0002,367,488
3May 12, 2024 16:1410,199359,814,717277,645,00058,924,0002,433,024
4May 12, 2024 16:1410,361408,609,948341,927,97602,228,224
5May 12, 2024 16:1410,385364,601,367283,743,00058,946,0002,433,024
6May 12, 2024 16:1410,406367,122,436282,503,00060,893,0002,437,120
7May 12, 2024 16:1410,425404,449,354344,018,22402,228,224
8May 12, 2024 16:1410,434400,419,012344,310,38902,228,224
9May 12, 2024 16:1410,484371,910,221286,981,00058,996,0002,289,664
10May 12, 2024 16:1410,523373,445,914289,384,00057,876,0002,514,944
11May 12, 2024 16:1410,670375,597,735293,087,00059,017,0002,433,024
12May 12, 2024 16:1410,824380,714,830298,332,00058,868,0002,396,160
13May 12, 2024 16:1411,207430,919,019369,844,93302,228,224
14May 12, 2024 16:1411,561446,276,576381,514,34202,236,416
15May 12, 2024 16:1411,597449,168,392382,713,66902,228,224