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 listMar 14, 2026 04:48limanjun99limanjun99Score: 489,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 14, 2026 04:48485,01316,043,222,21615,910,491,00094,943,0002,506,752
2Mar 14, 2026 04:48489,14916,175,232,81716,047,954,00093,947,0002,265,088
3Mar 14, 2026 04:48489,25216,188,535,64916,047,363,00097,941,0002,445,312
4Mar 14, 2026 04:48489,33516,183,123,75416,061,103,00086,946,0002,260,992
5Mar 14, 2026 04:48489,44216,189,182,01416,057,647,00093,951,0002,338,816
6Mar 14, 2026 04:48491,65916,263,220,29716,116,798,000107,938,0002,297,856
7Mar 14, 2026 04:48493,47916,319,087,17416,173,857,000110,937,0002,506,752
8Mar 14, 2026 04:48494,82316,371,006,38216,217,227,000111,932,0002,342,912
9Mar 14, 2026 04:48503,99216,668,166,56216,536,774,00094,947,0002,330,624