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:59Andrew EpsteinAndrew EpsteinScore: 27,978Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 00:0027,856930,223,061913,030,0006,247,0002,121,728stderr
2Oct 31, 2026 00:0027,861932,893,580912,997,0006,441,0002,121,728stderr
3Oct 31, 2026 00:0027,887931,300,759914,003,0006,275,0002,121,728stderr
4Oct 31, 2026 00:0027,907932,340,865914,508,0006,432,0002,121,728stderr
5Oct 31, 2026 00:0027,978934,209,831917,004,0006,273,0002,121,728stderr
6Oct 31, 2026 00:0028,038936,223,048918,955,0006,303,0002,121,728stderr
7Oct 31, 2026 00:0028,048936,674,568919,269,0006,321,0002,121,728stderr
8Oct 31, 2026 00:0028,181940,976,585923,679,0006,325,0002,121,728stderr
9Oct 31, 2026 00:0028,263944,091,744926,361,0006,333,0002,121,728stderr