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 31, 2025 07:26Rajarshi BasuRajarshi BasuScore: 3,420Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2025 07:273,392142,201,609108,923,0002,997,0002,285,568
2Dec 31, 2025 07:143,394137,278,892110,016,0002,000,0002,285,568
3Dec 31, 2025 07:263,398141,729,522110,142,0002,002,0002,379,776
4Dec 31, 2025 07:143,401134,340,597109,219,0003,006,0002,285,568
5Dec 31, 2025 07:263,401139,799,153110,245,0002,004,0002,416,640
6Dec 31, 2025 07:273,403134,356,483110,283,0002,005,0002,379,776
7Dec 31, 2025 07:263,409141,133,197110,515,0001,991,0002,383,872
8Dec 31, 2025 07:143,416138,104,463111,728,000997,0002,379,776
9Dec 31, 2025 07:273,419133,816,869109,842,0002,995,0002,387,968
10Dec 31, 2025 07:143,420135,940,906109,877,0002,996,0002,387,968
11Dec 31, 2025 07:143,437143,057,051110,423,0003,011,0002,392,064
12Dec 31, 2025 07:143,446140,631,446111,726,0001,995,0002,387,968
13Dec 31, 2025 07:143,455140,537,046112,016,0002,000,0002,510,848
14Dec 31, 2025 07:143,499141,444,795113,445,0002,007,0002,383,872
15Dec 31, 2025 07:263,502149,463,236112,537,0003,014,0002,379,776
16Dec 31, 2025 07:263,512140,112,151113,885,0001,997,0002,387,968
17Dec 31, 2025 07:143,513138,217,560113,928,0001,998,0002,379,776
18Dec 31, 2025 07:263,565149,772,809116,650,000997,0002,285,568