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:25Andrew EpsteinAndrew EpsteinScore: 2,996Success
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:302,975107,583,47196,908,0001,298,0002,117,632
2Oct 30, 2026 22:302,982107,847,22997,157,0001,280,0002,117,632
3Oct 30, 2026 22:302,991108,151,31597,703,0001,019,0002,117,632
4Oct 30, 2026 22:302,993108,213,23297,491,0001,294,0002,117,632
5Oct 30, 2026 22:302,996108,282,14397,857,0001,014,0002,117,632
6Oct 30, 2026 22:303,019109,018,24098,349,0001,300,0002,117,632
7Oct 30, 2026 22:303,022109,178,66698,742,0001,013,0002,117,632
8Oct 30, 2026 22:303,034109,631,05199,128,0001,021,0002,117,632
9Oct 30, 2026 22:303,037109,594,45398,940,0001,288,0002,117,632