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:51Andrew EpsteinAndrew EpsteinScore: 2,773Success
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:532,72699,354,87688,968,0001,005,0002,117,632
2Oct 30, 2026 22:532,73499,695,31588,973,0001,277,0002,117,632
3Oct 30, 2026 22:532,73499,683,04989,228,0001,016,0002,117,632
4Oct 30, 2026 22:532,73999,771,75689,112,0001,278,0002,117,632
5Oct 30, 2026 22:532,773100,959,85290,264,0001,265,0002,117,632
6Oct 30, 2026 22:532,774101,005,25890,557,0001,007,0002,117,632
7Oct 30, 2026 22:532,780101,133,73890,729,0001,016,0002,117,632
8Oct 30, 2026 22:532,793101,608,37991,162,0001,010,0002,117,632
9Oct 30, 2026 22:532,800101,733,97491,397,0001,006,0002,117,632