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 listAug 3, 2025 23:31Leonardo Pedrozo AmaralLeonardo Pedrozo AmaralScore: 117,558Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2025 23:31117,2473,894,027,2513,746,208,000122,941,0002,277,376
2Aug 3, 2025 23:31117,3653,902,537,0293,770,096,000102,948,0002,277,376
3Aug 3, 2025 23:31117,5143,906,419,1773,724,050,000153,919,0002,437,120
4Aug 3, 2025 23:31117,5443,905,701,7503,736,024,000142,924,0002,277,376
5Aug 3, 2025 23:31117,5583,906,388,0193,757,480,000121,918,0002,277,376
6Aug 3, 2025 23:31117,6093,911,766,5033,756,156,000124,938,0002,510,848
7Aug 3, 2025 23:31118,0613,933,175,6483,759,083,000136,930,0002,428,928
8Aug 3, 2025 23:31118,3593,935,764,6963,770,908,000134,925,0002,371,584
9Aug 3, 2025 23:31118,4153,934,634,0913,772,766,000134,920,0002,277,376