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 04:33Rajarshi BasuRajarshi BasuScore: 5,735Success
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 04:335,715211,790,120182,601,0005,986,0002,523,136
2Dec 20, 2025 04:335,719217,558,733182,730,0005,991,0002,510,848
3Dec 20, 2025 04:335,726210,129,803181,963,0006,998,0002,510,848
4Dec 20, 2025 04:335,727219,546,912181,996,0006,999,0002,433,024
5Dec 20, 2025 04:335,728210,972,866184,031,0005,000,0002,351,104
6Dec 20, 2025 04:335,729213,807,685183,065,0006,002,0002,519,040
7Dec 20, 2025 04:335,729213,595,458183,066,0006,002,0002,506,752
8Dec 20, 2025 04:335,732213,554,971183,145,0006,004,0002,494,464
9Dec 20, 2025 04:335,733211,653,642184,190,0005,005,0002,510,848
10Dec 20, 2025 04:335,734214,156,352186,235,0003,003,0002,490,368
11Dec 20, 2025 04:335,735211,843,125185,240,0004,005,0002,510,848
12Dec 20, 2025 04:335,736211,465,908183,290,0006,009,0002,519,040
13Dec 20, 2025 04:335,737216,387,056184,315,0005,008,0002,453,504
14Dec 20, 2025 04:335,762219,318,367185,130,0005,003,0002,465,792
15Dec 20, 2025 04:335,765218,322,051185,223,0005,006,0002,514,944
16Dec 20, 2025 04:335,766214,940,754184,273,0006,008,0002,465,792
17Dec 20, 2025 04:335,775218,679,959185,582,0004,988,0002,514,944
18Dec 20, 2025 04:335,834218,297,190184,537,0007,980,0002,514,944
19Dec 20, 2025 04:335,975220,148,927193,169,0004,003,0002,310,144
20Dec 20, 2025 04:335,977228,834,337193,225,0004,004,0002,338,816
21Dec 20, 2025 04:336,040232,347,783193,322,0006,010,0002,514,944