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 20, 2025 06:05Rajarshi BasuRajarshi BasuScore: 5,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 05:065,408204,897,784172,477,0005,981,0002,514,944
2Dec 20, 2025 05:065,438207,502,377175,441,0004,010,0002,510,848
3Dec 20, 2025 05:065,438208,972,978174,446,0005,012,0002,281,472
4Dec 20, 2025 05:065,443203,371,048176,595,0003,010,0002,527,232
5Dec 20, 2025 05:065,444204,677,983175,661,0003,992,0002,326,528
6Dec 20, 2025 05:065,448207,755,160172,800,0006,991,0002,355,200
7Dec 20, 2025 05:065,451209,603,084174,884,0004,996,0002,457,600
8Dec 20, 2025 05:065,455209,816,720176,013,0004,000,0002,301,952
9Dec 20, 2025 05:065,458214,201,928175,111,0005,003,0002,314,240
10Dec 20, 2025 05:065,461204,953,535175,198,0005,005,0002,465,792
11Dec 20, 2025 06:055,462202,233,133173,239,0007,009,0002,367,488
12Dec 20, 2025 05:065,465201,513,466174,334,0006,011,0002,351,104
13Dec 20, 2025 05:065,473207,563,390175,625,0004,989,0002,510,848
14Dec 20, 2025 06:055,495208,131,047178,336,0003,005,0002,367,488
15Dec 20, 2025 05:065,536208,565,815175,708,0006,988,0002,523,136
16Dec 20, 2025 05:065,540203,735,207176,814,0005,993,0002,461,696
17Dec 20, 2025 05:065,708216,764,681181,403,0006,977,0002,519,040
18Dec 20, 2025 05:065,756214,797,810183,935,0005,997,0002,428,928
19Dec 20, 2025 06:055,761216,389,804184,100,0006,003,0002,527,232
20Dec 20, 2025 05:065,781213,138,093185,785,0004,994,0002,416,640
21Dec 20, 2025 05:065,784219,420,831185,880,0004,996,0002,510,848