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 10, 2026 18:54Oleg SkinderevOleg SkinderevScore: 251,350Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 18:54248,0338,215,678,1538,121,132,00063,961,0002,510,848
2Apr 10, 2026 18:54249,2958,254,902,0878,171,760,00054,971,0002,519,040
3Apr 10, 2026 18:54249,4988,260,423,7568,165,483,00067,962,0002,265,088
4Apr 10, 2026 18:54251,2618,329,218,0968,245,657,00045,970,0002,506,752
5Apr 10, 2026 18:54251,3508,332,155,6538,236,569,00057,968,0002,355,200
6Apr 10, 2026 18:54251,3978,329,162,1058,235,137,00060,964,0002,310,144
7Apr 10, 2026 18:54251,9618,350,875,9598,257,735,00056,970,0002,281,472
8Apr 10, 2026 18:54252,3188,356,458,6188,274,534,00051,971,0002,334,720
9Apr 10, 2026 18:54255,2318,456,684,0558,373,646,00048,968,0002,367,488