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 listMay 1, 2026 11:24Victor MerckléVictor MerckléScore: 90,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 11:2590,2453,001,989,6472,943,108,00034,977,0002,400,256stderr
2May 1, 2026 11:2590,3312,999,920,7702,943,937,00036,986,0002,396,160stderr
3May 1, 2026 11:2590,3373,000,228,3342,944,158,00036,976,0002,408,448stderr
4May 1, 2026 11:2590,6153,009,187,8902,952,333,00037,978,0002,318,336stderr
5May 1, 2026 11:2590,6553,013,227,5372,957,636,00033,984,0002,322,432stderr
6May 1, 2026 11:2590,9393,021,023,3172,960,015,00040,972,0002,404,352stderr
7May 1, 2026 11:2590,9583,023,781,7952,964,641,00036,983,0002,326,528stderr
8May 1, 2026 11:2591,0003,025,591,9292,969,048,00033,977,0002,400,256stderr
9May 1, 2026 11:2591,2713,030,107,4332,969,978,00041,971,0002,392,064stderr