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 29, 2024 05:27Yuriy LyfenkoYuriy LyfenkoScore: 8,615Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2024 05:288,484308,818,144273,982,0005,999,0002,281,472
2Dec 29, 2024 05:348,510306,229,237276,832,0003,997,0002,510,848
3Dec 29, 2024 05:348,514301,345,483275,952,0004,999,0002,490,368
4Dec 29, 2024 05:348,555309,950,881278,299,0004,004,0002,355,200
5Dec 29, 2024 05:278,564307,589,298276,617,0005,991,0002,338,816
6Dec 29, 2024 05:278,569307,563,322275,787,0006,994,0002,510,848
7Dec 29, 2024 05:288,585309,067,331275,312,0007,980,0002,269,184
8Dec 29, 2024 05:278,592309,681,391275,541,0007,986,0002,433,024
9Dec 29, 2024 05:348,598309,200,303276,756,0006,993,0002,416,640
10Dec 29, 2024 05:288,615314,751,486277,280,0007,007,0002,510,848
11Dec 29, 2024 05:348,624312,832,635278,613,0005,991,0002,510,848
12Dec 29, 2024 05:278,659313,981,604280,760,0004,995,0002,506,752
13Dec 29, 2024 05:278,661314,975,418280,801,0004,996,0002,486,272
14Dec 29, 2024 05:348,683318,101,257279,552,0006,988,0002,326,528
15Dec 29, 2024 05:348,703309,884,911282,212,0005,003,0002,519,040
16Dec 29, 2024 05:278,710315,298,360280,454,0006,986,0002,519,040
17Dec 29, 2024 05:348,830316,768,001287,392,0003,991,0002,523,136
18Dec 29, 2024 05:348,840315,447,870286,741,0004,995,0002,355,200