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 29, 2026 22:30Andrew EpsteinAndrew EpsteinScore: 4,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 22:374,041144,237,343131,149,0002,214,0002,113,536
2Oct 29, 2026 22:374,055144,930,925131,652,0002,185,0002,113,536
3Oct 29, 2026 22:374,058144,947,178131,685,0002,237,0002,113,536
4Oct 29, 2026 22:374,060145,057,240131,925,0002,077,0002,113,536
5Oct 29, 2026 22:374,069145,671,284132,061,0002,237,0002,113,536
6Oct 29, 2026 22:374,080146,087,027132,601,0002,056,0002,113,536
7Oct 29, 2026 22:374,093146,039,241132,870,0002,224,0002,113,536
8Oct 29, 2026 22:374,100146,735,809133,206,0002,095,0002,113,536
9Oct 29, 2026 22:374,120147,364,955133,773,0002,204,0002,113,536