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 listJul 27, 2025 05:00Serendipity1902Serendipity1902Score: 490,605Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2025 05:00487,52616,124,244,59715,981,429,000106,942,0002,486,272
2Jul 27, 2025 05:00489,50516,195,703,04316,054,715,00098,936,0002,379,776
3Jul 27, 2025 05:00490,08016,212,983,66516,080,678,00091,946,0002,273,280
4Jul 27, 2025 05:00490,20116,212,801,88316,070,709,000105,932,0002,449,408
5Jul 27, 2025 05:00490,60516,227,753,65616,087,039,000102,942,0002,359,296
6Jul 27, 2025 05:00491,25316,242,102,42816,128,403,00082,950,0002,461,696
7Jul 27, 2025 05:00491,71416,263,546,81516,129,646,00096,931,0002,412,544
8Jul 27, 2025 05:00495,30816,383,208,88616,255,233,00089,940,0002,314,240
9Jul 27, 2025 05:00497,08716,440,086,95316,277,939,000125,922,0002,469,888