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 listMar 14, 2026 09:40limanjun99limanjun99Score: 40,603Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 14, 2026 09:4040,3841,359,032,6481,301,678,00030,992,0002,416,640
2Mar 14, 2026 09:4040,4251,365,225,7341,306,060,00027,979,0002,400,256
3Mar 14, 2026 09:4040,5091,370,051,3131,301,798,00034,994,0002,400,256
4Mar 14, 2026 09:4040,5911,365,532,5591,305,514,00033,987,0002,342,912
5Mar 14, 2026 09:4040,6031,368,619,0961,308,891,00030,997,0002,392,064
6Mar 14, 2026 09:4040,8041,371,860,2541,317,546,00028,990,0002,281,472
7Mar 14, 2026 09:4041,3631,395,257,9661,333,995,00030,976,0002,408,448
8Mar 14, 2026 09:4041,7061,404,512,5981,340,316,00035,981,0002,281,472
9Mar 14, 2026 09:4041,7741,406,280,5521,354,562,00023,992,0002,281,472