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:33Andrew EpsteinAndrew EpsteinScore: 56,082Success
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:4155,8291,855,234,6291,833,927,0008,462,0002,121,728stderr
2Oct 29, 2026 22:4155,9081,856,453,4331,836,564,0008,403,0002,121,728stderr
3Oct 29, 2026 22:4156,0101,859,814,2441,840,826,0007,516,0002,121,728stderr
4Oct 29, 2026 22:4156,0781,861,597,7141,842,211,0008,387,0002,121,728stderr
5Oct 29, 2026 22:4156,0821,862,031,4411,843,351,0007,376,0002,121,728stderr
6Oct 29, 2026 22:4156,5171,876,053,0461,856,676,0008,394,0002,121,728stderr
7Oct 29, 2026 22:4156,6001,878,845,1141,859,483,0008,342,0002,121,728stderr
8Oct 29, 2026 22:4156,6421,880,244,9501,860,867,0008,341,0002,121,728stderr
9Oct 29, 2026 22:4157,2801,901,640,9831,881,915,0008,349,0002,121,728stderr