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 22, 2026 20:05SneedSneedScore: 90,851Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2026 20:0589,9883,001,717,3422,912,627,00056,973,0002,465,792
2Feb 22, 2026 20:0590,2223,004,344,8532,924,355,00052,970,0002,285,568
3Feb 22, 2026 20:0590,5743,020,316,1782,948,981,00039,972,0002,289,664
4Feb 22, 2026 20:0590,6293,015,602,6502,947,766,00042,982,0002,285,568
5Feb 22, 2026 20:0590,8513,029,799,1842,946,124,00051,966,0002,285,568
6Feb 22, 2026 20:0590,9643,032,287,4252,957,830,00043,982,0002,490,368
7Feb 22, 2026 20:0591,2313,036,870,6692,958,654,00051,976,0002,322,432
8Feb 22, 2026 20:0591,3003,048,926,7612,968,915,00043,969,0002,473,984
9Feb 22, 2026 20:0591,5443,054,000,5072,980,976,00039,972,0002,478,080