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 11, 2024 22:18Joad NacerJoad NacerScore: 17,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 22:1816,789613,491,201554,026,49802,273,280
2May 11, 2024 22:1816,839615,266,525555,692,38402,277,376
3May 11, 2024 22:1717,093591,500,238407,326,000156,740,0002,433,024
4May 11, 2024 22:1717,109593,093,119411,710,000152,892,0002,342,912
5May 11, 2024 22:1717,110628,137,559564,616,40702,269,184
6May 11, 2024 22:1817,115589,601,158410,845,000153,942,0002,338,816
7May 11, 2024 22:1717,118590,970,745420,922,000143,973,0002,277,376
8May 11, 2024 22:1817,159589,726,664407,453,000158,787,0002,269,184
9May 11, 2024 22:1717,180592,863,075412,955,000153,983,0002,326,528
10May 11, 2024 22:1717,199591,345,676406,684,000160,875,0002,338,816
11May 11, 2024 22:1817,219592,978,571399,466,000168,774,0002,277,376
12May 11, 2024 22:1717,228645,845,223568,529,05402,260,992
13May 11, 2024 22:1817,232595,175,164404,744,000163,896,0002,334,720
14May 11, 2024 22:1717,252592,483,813422,483,000146,820,0002,334,720
15May 11, 2024 22:1717,271596,158,141413,222,000156,705,0002,326,528
16May 11, 2024 22:1817,272634,474,801569,960,75202,277,376
17May 11, 2024 22:1817,371604,442,170426,441,000146,807,0002,469,888
18May 11, 2024 22:1817,443601,065,231428,717,000146,903,0002,281,472
19May 11, 2024 22:1817,482604,283,310412,226,000164,691,0002,433,024
20May 11, 2024 22:1717,575643,145,841579,961,15502,260,992
21May 11, 2024 22:1817,577647,001,026580,053,23202,265,088
22May 11, 2024 22:1817,593610,314,572421,690,000158,883,0002,342,912
23May 11, 2024 22:1717,634610,238,625419,218,000162,696,0002,527,232
24May 11, 2024 22:1717,658606,940,439420,805,000161,925,0002,338,816
25May 11, 2024 22:1817,664641,225,493582,918,23902,265,088
26May 11, 2024 22:1817,675641,605,279583,270,76102,269,184
27May 11, 2024 22:1817,738609,992,722435,519,000149,834,0002,277,376
28May 11, 2024 22:1821,853749,854,335576,319,000144,828,0002,289,664
29May 11, 2024 22:1821,989747,472,197580,715,000144,929,0002,453,504
30May 11, 2024 22:1821,998754,007,616576,957,000148,989,0002,510,848
31May 11, 2024 22:1822,066752,436,364581,349,000146,835,0002,277,376
32May 11, 2024 22:1822,128752,995,941586,364,000143,844,0002,338,816
33May 11, 2024 22:1822,187768,212,035581,335,000150,827,0002,277,376
34May 11, 2024 22:1822,256760,013,174582,569,000151,887,0002,400,256
35May 11, 2024 22:1822,729779,202,492600,240,000149,810,0002,392,064
36May 11, 2024 22:1824,156819,597,532639,311,000157,830,0002,342,912