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 19, 2025 20:08Rajarshi BasuRajarshi BasuScore: 8,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2025 20:087,308268,955,834223,142,00018,011,0002,478,080
2Dec 19, 2025 20:087,470273,043,469227,537,00018,961,0002,465,792
3Dec 19, 2025 20:087,476268,598,172222,637,00024,068,0002,359,296
4Dec 19, 2025 20:087,504271,914,848222,658,00024,961,0002,478,080
5Dec 19, 2025 20:087,573287,008,814222,923,00026,990,0002,375,680
6Dec 19, 2025 20:087,625285,094,985227,670,00023,965,0002,355,200
7Dec 19, 2025 20:088,913659,750,029224,399,00069,745,0002,453,504
8Dec 19, 2025 20:0811,5341,945,079,166221,359,000159,258,000106,061,824
9Dec 19, 2025 20:0812,9722,178,875,996229,549,000198,528,000134,152,192
10Dec 19, 2025 20:0813,5071,979,805,032224,892,000220,840,0002,424,832
11Dec 19, 2025 20:0818,2294,266,358,883233,070,000368,503,0002,506,752
12Dec 19, 2025 20:0821,2845,321,684,302266,039,000436,349,000302,415,872