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 listSep 18, 2026 19:01Andrew EpsteinAndrew EpsteinScore: 68,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 19:0268,4832,270,789,4842,254,770,0005,178,0002,121,728stderr
2Sep 18, 2026 19:0268,5972,274,992,1262,258,433,0005,268,0002,121,728stderr
3Sep 18, 2026 19:0268,6612,277,105,8292,260,393,0005,424,0002,121,728stderr
4Sep 18, 2026 19:0268,6642,276,980,9752,260,768,0005,153,0002,121,728stderr
5Sep 18, 2026 19:0268,6712,276,588,8302,261,006,0005,147,0002,121,728stderr
6Sep 18, 2026 19:0268,7842,280,311,8262,264,775,0005,100,0002,121,728stderr
7Sep 18, 2026 19:0268,8482,282,576,5992,266,788,0005,204,0002,121,728stderr
8Sep 18, 2026 19:0268,9012,285,076,6702,268,323,0005,417,0002,121,728stderr
9Sep 18, 2026 19:0269,0982,290,908,4982,274,990,0005,251,0002,121,728stderr