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 listOct 31, 2026 00:15Andrew EpsteinAndrew EpsteinScore: 2,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 00:162,70498,648,67588,214,0001,032,0002,117,632
2Oct 31, 2026 00:162,70798,747,35688,339,0001,010,0002,117,632
3Oct 31, 2026 00:162,71999,397,67288,456,0001,284,0002,117,632
4Oct 31, 2026 00:162,72499,387,41988,883,0001,015,0002,117,632
5Oct 31, 2026 00:162,72699,265,21788,678,0001,284,0002,117,632
6Oct 31, 2026 00:162,73099,477,19389,093,0001,029,0002,117,632
7Oct 31, 2026 00:162,74399,930,06989,514,0001,014,0002,117,632
8Oct 31, 2026 00:162,749100,132,57789,720,0001,007,0002,117,632
9Oct 31, 2026 00:162,774101,692,59590,534,0001,016,0002,117,632