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 listMay 1, 2026 10:34Victor MerckléVictor MerckléScore: 225,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 10:36224,4397,428,236,1247,370,512,00035,978,0002,330,624stderr
2May 1, 2026 10:36224,5827,431,252,1647,372,258,00038,974,0002,383,872stderr
3May 1, 2026 10:36224,6207,440,407,0647,380,478,00031,984,0002,330,624stderr
4May 1, 2026 10:36224,7787,444,773,8157,378,712,00038,977,0002,326,528stderr
5May 1, 2026 10:36225,1477,455,155,9837,388,906,00040,977,0002,383,872stderr
6May 1, 2026 10:36225,5047,468,095,6137,403,670,00037,977,0002,408,448stderr
7May 1, 2026 10:36225,6147,467,577,5107,411,305,00033,978,0002,387,968stderr
8May 1, 2026 10:36226,1107,484,365,6467,422,661,00038,977,0002,371,584stderr
9May 1, 2026 10:36226,2927,488,145,2237,430,686,00036,973,0002,330,624stderr