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 listAug 3, 2025 19:37Leonardo Pedrozo AmaralLeonardo Pedrozo AmaralScore: 127,046Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2025 19:37126,2624,198,451,0994,036,729,000129,926,0002,277,376
2Aug 3, 2025 19:37126,4144,203,416,4034,042,737,000128,927,0002,277,376
3Aug 3, 2025 19:37126,5174,205,121,4924,034,127,000140,934,0002,277,376
4Aug 3, 2025 19:37126,6204,205,338,0724,048,547,000129,921,0002,277,376
5Aug 3, 2025 19:37127,0464,224,406,7014,065,587,000126,924,0002,277,376
6Aug 3, 2025 19:37127,3764,238,023,3604,076,490,000126,921,0002,306,048
7Aug 3, 2025 19:37127,5024,234,802,6794,082,639,000124,927,0002,277,376
8Aug 3, 2025 19:37127,7454,247,652,4114,090,651,000124,928,0002,367,488
9Aug 3, 2025 19:37128,5304,267,132,0994,090,594,000150,911,0002,289,664