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 6, 2026 18:13Pavel SamyginPavel SamyginScore: 493,931Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 6, 2026 18:13488,93516,174,862,31616,040,917,00093,946,0002,433,024
2Mar 6, 2026 18:13490,55716,218,333,08016,090,420,00097,947,0002,314,240
3Mar 6, 2026 18:13492,31316,284,581,11916,142,379,000103,938,0002,363,392
4Mar 6, 2026 18:13492,53016,285,366,07016,147,558,000105,938,0002,338,816
5Mar 6, 2026 18:13493,93116,330,500,90916,192,796,000106,932,0002,473,984
6Mar 6, 2026 18:13494,44716,355,395,68116,211,802,000104,940,0002,351,104
7Mar 6, 2026 18:13495,25116,378,385,55516,235,362,000107,935,0002,301,952
8Mar 6, 2026 18:13495,25416,381,386,28516,242,429,000100,940,0002,289,664
9Mar 6, 2026 18:13495,35216,387,197,76416,229,673,000116,932,0002,371,584