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 30, 2026 23:00Andrew EpsteinAndrew EpsteinScore: 2,741Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 23:012,71198,942,28288,201,0001,288,0002,117,632
2Oct 30, 2026 23:012,72799,367,30388,992,0001,006,0002,117,632
3Oct 30, 2026 23:012,73299,532,02788,910,0001,275,0002,117,632
4Oct 30, 2026 23:012,73399,684,06389,189,0001,027,0002,117,632
5Oct 30, 2026 23:012,74199,852,90289,460,0001,012,0002,117,632
6Oct 30, 2026 23:012,751100,151,48289,511,0001,287,0002,117,632
7Oct 30, 2026 23:012,760100,410,83990,089,0001,009,0002,117,632
8Oct 30, 2026 23:012,761100,584,24490,133,0001,009,0002,117,632
9Oct 30, 2026 23:012,778101,495,56590,653,0001,027,0002,117,632