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 listFeb 11, 2026 18:55olliecrowolliecrowScore: 18,619Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2026 18:5518,578636,851,358586,078,00027,003,0002,449,408
2Feb 11, 2026 18:5518,589636,048,446587,459,00025,976,0002,318,336
3Feb 11, 2026 18:5518,606639,978,291588,992,00024,999,0002,457,600
4Feb 11, 2026 18:5518,616648,808,389589,318,00025,013,0002,457,600
5Feb 11, 2026 18:5518,619647,844,067589,449,00024,976,0002,453,504
6Feb 11, 2026 18:5518,621643,178,117588,501,00025,977,0002,457,600
7Feb 11, 2026 18:5518,635638,002,630590,952,00023,998,0002,342,912
8Feb 11, 2026 18:5518,654638,504,161591,593,00023,983,0002,469,888
9Feb 11, 2026 18:5518,662637,861,306590,859,00024,994,0002,400,256