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 22, 2025 04:30Josu San MartinJosu San MartinScore: 32,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 03:5732,0121,086,618,7171,037,393,00018,988,0002,478,080
2Dec 22, 2025 03:5732,1311,094,338,9521,040,332,00019,987,0002,351,104
3Dec 22, 2025 03:5732,1371,091,676,4241,046,532,00013,993,0002,293,760
4Dec 22, 2025 04:3032,2661,088,986,0931,039,796,00024,995,0002,289,664
5Dec 22, 2025 03:5732,3191,094,843,0661,044,537,00021,990,0002,289,664
6Dec 22, 2025 03:5732,3931,097,214,8701,046,968,00021,999,0002,392,064
7Dec 22, 2025 04:3032,5191,099,530,1441,053,157,00019,984,0002,469,888
8Dec 22, 2025 03:5732,5311,101,260,4381,053,521,00019,990,0002,392,064
9Dec 22, 2025 03:5732,5371,100,092,9431,051,751,00021,973,0002,387,968
10Dec 22, 2025 03:5732,6191,098,472,3541,056,445,00019,989,0002,531,328
11Dec 22, 2025 04:3032,7601,104,696,1011,062,084,00018,983,0002,326,528
12Dec 22, 2025 03:5732,8031,119,416,6501,063,495,00018,990,0002,383,872