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 22:41Andrew EpsteinAndrew EpsteinScore: 25,635Success
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 22:4225,476851,738,047835,468,0005,259,0002,121,728stderr
2Oct 30, 2026 22:4225,505852,655,683836,415,0005,255,0002,121,728stderr
3Oct 30, 2026 22:4225,515853,535,081836,713,0005,287,0002,121,728stderr
4Oct 30, 2026 22:4225,595856,083,867839,415,0005,226,0002,121,728stderr
5Oct 30, 2026 22:4225,635856,957,246840,817,0005,146,0002,121,728stderr
6Oct 30, 2026 22:4225,675858,266,915841,961,0005,337,0002,121,728stderr
7Oct 30, 2026 22:4225,711859,483,236843,162,0005,317,0002,121,728stderr
8Oct 30, 2026 22:4225,763861,217,471844,980,0005,200,0002,121,728stderr
9Oct 30, 2026 22:4225,870866,603,795848,511,0005,230,0002,121,728stderr