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 02:53Andrew EpsteinAndrew EpsteinScore: 59,597Success
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 02:5859,4351,973,380,9541,949,901,00011,466,0002,121,728stderr
2Oct 30, 2026 02:5859,4431,973,143,5551,950,262,00011,389,0002,121,728stderr
3Oct 30, 2026 02:5859,5111,975,380,9421,952,498,00011,366,0002,121,728stderr
4Oct 30, 2026 02:5859,5611,976,664,3661,954,037,00011,479,0002,121,728stderr
5Oct 30, 2026 02:5859,5971,977,688,2751,955,312,00011,401,0002,121,728stderr
6Oct 30, 2026 02:5859,6911,980,872,1361,958,382,00011,430,0002,121,728stderr
7Oct 30, 2026 02:5860,0371,992,275,2111,969,831,00011,422,0002,121,728stderr
8Oct 30, 2026 02:5860,3812,003,526,2821,981,183,00011,406,0002,121,728stderr
9Oct 30, 2026 02:5860,6352,011,979,9951,989,512,00011,452,0002,121,728stderr