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 29, 2026 13:29TudyMTudyMScore: 29,369Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 13:3029,136981,308,619946,518,00014,992,0002,293,760
2Apr 29, 2026 13:3029,145977,479,316948,802,00012,997,0002,301,952
3Apr 29, 2026 13:3029,218984,872,023946,220,00017,985,0002,555,904
4Apr 29, 2026 13:3029,299987,675,616953,888,00012,998,0002,301,952
5Apr 29, 2026 13:3029,369985,007,647951,202,00017,984,0002,293,760
6Apr 29, 2026 13:3029,374987,741,867952,382,00016,988,0002,297,856
7Apr 29, 2026 13:3029,430991,345,614953,212,00017,985,0002,301,952
8Apr 29, 2026 13:3029,490994,053,899956,211,00016,986,0002,289,664
9Apr 29, 2026 13:3029,584995,456,970959,292,00016,987,0002,306,048