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 23:47Andrew EpsteinAndrew EpsteinScore: 2,727Success
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 23:482,70398,691,20088,182,0001,024,0002,117,632
2Oct 30, 2026 23:482,70998,793,49388,416,0001,007,0002,117,632
3Oct 30, 2026 23:482,71098,805,65588,149,0001,284,0002,117,632
4Oct 30, 2026 23:482,724100,731,93288,894,0001,007,0002,117,632
5Oct 30, 2026 23:482,72799,350,04688,993,0001,006,0002,117,632
6Oct 30, 2026 23:482,73199,536,61089,126,0001,007,0002,117,632
7Oct 30, 2026 23:482,755100,315,78589,920,0001,014,0002,117,632
8Oct 30, 2026 23:482,769100,793,12390,368,0001,027,0002,117,632
9Oct 30, 2026 23:482,814102,290,41991,588,0001,286,0002,117,632