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 listDec 24, 2025 19:54zielajzielajScore: 3,863Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 24, 2025 19:543,829150,283,278115,333,00011,031,0002,408,448
2Dec 24, 2025 19:543,832154,333,325121,439,0005,018,0002,392,064
3Dec 24, 2025 19:473,839152,856,113119,694,0006,982,0002,387,968
4Dec 24, 2025 19:473,842147,723,571118,814,0007,987,0002,371,584
5Dec 24, 2025 19:473,845150,006,707118,890,0007,992,0002,416,640
6Dec 24, 2025 19:543,845150,061,945116,900,0009,991,0002,400,256
7Dec 24, 2025 19:543,852147,802,686118,109,0009,008,0002,441,216
8Dec 24, 2025 19:473,860154,473,247112,322,00015,043,0002,523,136
9Dec 24, 2025 19:473,861154,551,335116,364,00011,034,0002,383,872
10Dec 24, 2025 19:473,863157,013,183116,441,00011,041,0002,334,720
11Dec 24, 2025 19:473,869150,882,469115,715,00011,970,0002,342,912
12Dec 24, 2025 19:543,871147,921,206119,762,0007,984,0002,383,872
13Dec 24, 2025 19:543,875150,388,360118,886,0008,991,0002,367,488
14Dec 24, 2025 19:543,876150,046,797114,905,00012,989,0002,347,008
15Dec 24, 2025 19:473,885151,684,981114,192,00014,023,0002,383,872
16Dec 24, 2025 19:543,898150,075,398117,657,00010,968,0002,375,680
17Dec 24, 2025 19:543,900154,376,367113,743,00014,966,0002,383,872
18Dec 24, 2025 19:474,206160,842,788131,809,0006,989,0002,379,776