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 listOct 30, 2026 02:32Andrew EpsteinAndrew EpsteinScore: 52,832Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 02:3652,3971,740,610,9981,719,822,0009,294,0002,121,728stderr
2Oct 30, 2026 02:3652,6541,748,904,6421,728,183,0009,415,0002,121,728stderr
3Oct 30, 2026 02:3652,6701,749,165,2951,728,739,0009,377,0002,121,728stderr
4Oct 30, 2026 02:3652,7491,752,218,0721,731,308,0009,416,0002,121,728stderr
5Oct 30, 2026 02:3652,8321,754,951,2461,734,149,0009,328,0002,121,728stderr
6Oct 30, 2026 02:3652,8551,755,236,9911,734,865,0009,375,0002,121,728stderr
7Oct 30, 2026 02:3653,0021,760,044,4831,739,470,0009,620,0002,121,728stderr
8Oct 30, 2026 02:3653,1661,765,967,4701,745,173,0009,327,0002,121,728stderr
9Oct 30, 2026 02:3653,3431,779,265,4181,750,860,0009,470,0002,121,728stderr