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 13:50matsuoka-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 13:4800000Error: No answer to stdout. Died or killed?
2Aug 8, 2023 13:509,532338,600,404295,571,00018,972,0002,437,120
3Aug 8, 2023 13:509,539340,947,599291,815,00022,985,0002,424,832
4Aug 8, 2023 13:509,560339,557,799289,453,00026,040,0002,510,848
5Aug 8, 2023 13:509,570344,221,959292,838,00022,987,0002,260,992
6Aug 8, 2023 13:509,585346,891,039295,270,00021,019,0002,363,392
7Aug 8, 2023 13:509,585347,568,986294,275,00022,020,0002,461,696
8Aug 8, 2023 13:509,587347,858,996293,334,00023,026,0002,453,504
9Aug 8, 2023 13:509,600342,892,391290,817,00025,983,0002,469,888
10Aug 8, 2023 13:509,609340,020,064292,092,00025,007,0002,490,368
11Aug 8, 2023 13:509,635374,432,202317,962,58302,273,280
12Aug 8, 2023 13:509,637385,138,018318,020,25202,191,360
13Aug 8, 2023 13:509,720394,750,335320,753,13302,191,360