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 listDec 4, 2022 22:31Yuriy LyfenkoYuriy LyfenkoScore: 11,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 4, 2022 22:3111,155388,089,701356,118,00012,003,0002,457,600
2Dec 4, 2022 22:3111,192395,812,972351,328,00018,016,0002,314,240
3Dec 4, 2022 22:3111,209397,103,588352,897,00016,995,0002,437,120
4Dec 4, 2022 22:3111,441400,889,081360,589,00016,980,0002,289,664
5Dec 4, 2022 22:3111,447399,264,566364,745,00012,990,0002,306,048
6Dec 4, 2022 22:3111,460404,261,696362,212,00015,965,0002,383,872
7Dec 4, 2022 22:3111,466400,324,524362,420,00015,974,0002,482,176
8Dec 4, 2022 22:3111,505453,587,106379,673,87202,244,608
9Dec 4, 2022 22:3111,510454,514,525379,817,43002,248,704
10Dec 4, 2022 22:3111,612468,578,695383,182,25002,252,800
11Dec 4, 2022 22:3111,646408,020,801368,344,00015,971,0002,473,984
12Dec 4, 2022 22:3111,705413,381,503369,313,00016,968,0002,297,856