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:37Andrew EpsteinAndrew EpsteinScore: 33,155Success
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:3833,0221,100,746,3891,083,434,0006,301,0002,125,824stderr
2Oct 30, 2026 23:3833,0411,101,383,2891,084,089,0006,270,0002,121,728stderr
3Oct 30, 2026 23:3833,1331,104,345,0071,087,096,0006,293,0002,125,824stderr
4Oct 30, 2026 23:3833,1351,104,504,3131,087,167,0006,319,0002,125,824stderr
5Oct 30, 2026 23:3833,1551,105,424,0651,087,810,0006,317,0002,125,824stderr
6Oct 30, 2026 23:3833,1691,105,876,5651,087,456,0007,138,0002,125,824stderr
7Oct 30, 2026 23:3833,3361,111,055,9591,093,710,0006,399,0002,125,824stderr
8Oct 30, 2026 23:3833,3941,112,925,4131,095,684,0006,339,0002,125,824stderr
9Oct 30, 2026 23:3833,5101,117,689,9881,099,427,0006,415,0002,125,824stderr