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 listApr 26, 2026 20:55Alexander KrivolapovAlexander KrivolapovError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 20:560491,680,773393,079,00081,016,0002,523,136expected "1021744 ", got "1021745 "
2Apr 26, 2026 20:560490,002,987389,405,00081,874,0002,359,296expected "1024305 ", got "1024306 "
3Apr 26, 2026 20:5614,197487,595,587402,594,00065,933,0002,306,048
4Apr 26, 2026 20:5614,208491,248,056407,895,00060,984,0002,330,624
5Apr 26, 2026 20:5614,275490,246,987387,063,00084,013,0002,506,752
6Apr 26, 2026 20:5614,286497,728,504399,549,00071,918,0002,301,952
7Apr 26, 2026 20:5614,352492,885,061395,698,00077,940,0002,334,720
8Apr 26, 2026 20:5614,396498,213,459388,061,00087,013,0002,560,000
9Apr 26, 2026 20:5614,499492,583,104391,588,00086,908,0002,387,968