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 listJun 27, 2026 19:27Victor MerckléVictor MerckléError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 19:280121,836,969113,020,0001,095,0002,113,536expected "1022364 ", got "1022363 "
2Jun 27, 2026 19:283,437121,218,961112,406,0001,030,0002,113,536
3Jun 27, 2026 19:283,441121,330,048112,514,0001,054,0002,113,536
4Jun 27, 2026 19:283,443121,225,708112,610,0001,030,0002,113,536
5Jun 27, 2026 19:283,446121,315,236112,687,0001,051,0002,113,536
6Jun 27, 2026 19:283,448121,474,811112,742,0001,073,0002,113,536
7Jun 27, 2026 19:283,453121,740,955112,902,0001,079,0002,113,536
8Jun 27, 2026 19:283,456121,864,492112,994,0001,086,0002,113,536
9Jun 27, 2026 19:283,465122,099,960113,323,0001,023,0002,113,536