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 00:06Joad NacerJoad NacerScore: 12,044Success
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 00:0710,413371,218,491286,701,00056,940,0002,330,624
2May 12, 2024 00:0710,434371,847,895285,436,00058,883,0002,420,736
3May 12, 2024 00:0710,436371,675,926286,501,00057,899,0002,355,200
4May 12, 2024 00:0710,436367,281,262286,487,00057,896,0002,428,928
5May 12, 2024 00:0710,447366,968,371285,788,00058,956,0002,527,232
6May 12, 2024 00:0710,516381,194,447291,023,00056,004,0002,396,160
7May 12, 2024 00:0710,556376,979,429291,461,00056,894,0002,310,144
8May 12, 2024 00:0710,586373,687,425289,440,00059,884,0002,527,232
9May 12, 2024 00:0710,650381,507,696292,533,00058,906,0002,326,528
10May 12, 2024 00:0610,760439,809,029355,075,90302,232,320
11May 12, 2024 00:0610,910420,560,869360,035,26902,277,376
12May 12, 2024 00:0610,922416,167,056360,419,79002,224,128
13May 12, 2024 00:0610,971435,275,675362,054,86502,220,032
14May 12, 2024 00:0611,256438,872,693371,433,41102,232,320
15May 12, 2024 00:0611,317434,083,632373,447,85402,228,224
16May 12, 2024 00:0711,484444,876,895378,964,31302,228,224
17May 12, 2024 00:0711,488449,569,924379,096,00702,224,128
18May 12, 2024 00:0711,511437,108,383379,862,34702,224,128
19May 12, 2024 00:0612,044422,166,333340,518,00056,919,0002,347,008
20May 12, 2024 00:0612,123429,981,684344,043,00056,007,0002,420,736
21May 12, 2024 00:0612,193425,776,295345,468,00056,912,0002,441,216
22May 12, 2024 00:0612,220438,335,110345,375,00057,895,0002,465,792
23May 12, 2024 00:0612,276430,423,736349,085,00056,013,0002,318,336
24May 12, 2024 00:0612,320429,533,411347,630,00058,937,0002,478,080
25May 12, 2024 00:0612,321429,980,202349,655,00056,943,0002,420,736
26May 12, 2024 00:0612,322430,449,941346,691,00059,946,0002,428,928
27May 12, 2024 00:0612,331429,773,045350,945,00055,991,0002,428,928
28May 12, 2024 00:0612,354435,949,952348,741,00058,956,0002,404,352
29May 12, 2024 00:0612,356431,065,152349,795,00057,966,0002,506,752
30May 12, 2024 00:0612,362440,882,597351,950,00055,992,0002,347,008
31May 12, 2024 00:0612,394435,857,179350,999,00057,999,0002,301,952
32May 12, 2024 00:0612,415434,873,351348,751,00060,956,0002,416,640
33May 12, 2024 00:0612,429440,837,435353,128,00057,020,0002,428,928
34May 12, 2024 00:0612,510434,719,528353,867,00058,977,0002,420,736
35May 12, 2024 00:0612,579444,766,024359,107,00056,016,0002,379,776
36May 12, 2024 00:0613,250460,686,829378,338,00058,896,0002,449,408