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 14:24matsuoka-601matsuoka-601Score: 9,773Success
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 14:249,706344,840,864289,276,00031,029,0002,445,312
2Aug 8, 2023 14:249,720349,374,577289,791,00030,977,0002,371,584
3Aug 8, 2023 14:249,751348,667,756290,793,00030,977,0002,310,144
4Aug 8, 2023 14:249,764348,927,689295,197,00027,018,0002,334,720
5Aug 8, 2023 14:249,766349,567,614298,265,00024,021,0002,301,952
6Aug 8, 2023 14:249,771353,988,567299,489,00022,960,0002,375,680
7Aug 8, 2023 14:249,773348,466,262292,551,00029,954,0002,367,488
8Aug 8, 2023 14:249,793353,639,693289,146,00034,017,0002,371,584
9Aug 8, 2023 14:249,809347,779,477286,738,00036,966,0002,363,392
10Aug 8, 2023 14:249,994393,644,843329,815,79402,293,760
11Aug 8, 2023 14:2410,002412,107,718330,074,25202,260,992
12Aug 8, 2023 14:2410,079415,129,968332,605,18902,306,048