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 8, 2023 17:43matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2023 17:4100000Error: No answer to stdout. Died or killed?
2Aug 8, 2023 17:438,396299,226,657259,073,00018,005,0002,310,144
3Aug 8, 2023 17:438,408310,630,144249,504,00027,944,0002,326,528
4Aug 8, 2023 17:438,420300,941,277256,885,00020,990,0002,326,528
5Aug 8, 2023 17:438,426298,372,224258,062,00020,004,0002,469,888
6Aug 8, 2023 17:438,427301,925,221254,070,00024,006,0002,310,144
7Aug 8, 2023 17:438,446308,945,973254,744,00023,975,0002,293,760
8Aug 8, 2023 17:438,469308,053,389258,523,00020,961,0002,322,432
9Aug 8, 2023 17:438,474300,287,625246,682,00032,957,0002,392,064
10Aug 8, 2023 17:438,479303,564,697253,837,00025,983,0002,310,144
11Aug 8, 2023 17:438,514355,662,254280,962,65702,256,896
12Aug 8, 2023 17:438,549347,661,951282,121,26702,256,896
13Aug 8, 2023 17:438,570347,476,021282,822,28402,260,992