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 19, 2025 08:53Rajarshi BasuRajarshi BasuScore: 7,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2025 08:547,594281,284,669239,616,00010,982,0002,510,848
2Dec 19, 2025 08:547,626281,833,244237,684,00013,981,0002,363,392
3Dec 19, 2025 08:547,695278,743,903248,952,0004,999,0002,473,984
4Dec 19, 2025 08:547,701280,335,434248,134,0006,003,0002,334,720
5Dec 19, 2025 08:547,709284,567,283247,372,0007,010,0002,371,584
6Dec 19, 2025 08:537,712282,906,772249,518,0004,990,0002,314,240
7Dec 19, 2025 08:547,742283,714,056245,504,0009,979,0002,506,752
8Dec 19, 2025 08:547,747281,605,738247,670,0007,989,0002,519,040
9Dec 19, 2025 08:547,754279,365,083249,893,0005,997,0002,277,376
10Dec 19, 2025 08:547,770280,329,244247,381,0009,013,0002,269,184
11Dec 19, 2025 08:547,772284,184,011247,494,0008,981,0002,269,184
12Dec 19, 2025 08:547,849283,682,121250,003,0009,000,0002,334,720
13Dec 19, 2025 08:547,926283,735,540252,559,0008,984,0002,453,504
14Dec 19, 2025 08:538,243294,357,123264,028,0008,000,0002,334,720
15Dec 19, 2025 08:538,757310,530,719283,993,0004,999,0002,486,272