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 listAug 27, 2023 09:47matsuoka-601matsuoka-601Score: 7,636Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 27, 2023 09:477,425309,580,047245,021,38602,260,992
2Aug 27, 2023 09:477,452320,274,556245,921,69602,269,184
3Aug 27, 2023 09:477,493306,505,300247,281,29402,252,800
4Aug 27, 2023 09:477,591276,663,468216,562,00033,931,0002,478,080
5Aug 27, 2023 09:477,597274,525,277228,736,00021,974,0002,482,176
6Aug 27, 2023 09:477,626275,340,237220,709,00030,959,0002,498,560
7Aug 27, 2023 09:477,636278,340,408227,981,00023,998,0002,400,256
8Aug 27, 2023 09:477,637284,024,584223,005,00029,000,0002,478,080
9Aug 27, 2023 09:477,643284,667,288221,193,00031,027,0002,453,504
10Aug 27, 2023 09:477,654274,374,706220,643,00031,948,0002,306,048
11Aug 27, 2023 09:477,665280,568,427213,959,00038,992,0002,461,696
12Aug 27, 2023 09:477,733283,350,706227,180,00028,022,0002,367,488