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 listJan 2, 2026 21:11zielajzielajScore: 3,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 20:593,166123,863,682104,493,00002,416,640
2Jan 2, 2026 21:113,206128,816,247104,786,000997,0002,506,752
3Jan 2, 2026 21:113,210127,290,098103,933,0001,998,0002,465,792
4Jan 2, 2026 20:593,213130,071,843103,021,0003,000,0002,412,544
5Jan 2, 2026 20:593,226125,395,092106,445,00002,416,640
6Jan 2, 2026 21:113,226125,996,304104,453,0002,008,0002,412,544
7Jan 2, 2026 20:593,266131,301,365105,797,0001,996,0002,404,352
8Jan 2, 2026 21:113,269127,586,060105,871,0001,997,0002,273,280
9Jan 2, 2026 20:593,288131,082,021107,484,0001,004,0002,535,424
10Jan 2, 2026 20:593,296137,037,743106,788,0001,996,0002,412,544
11Jan 2, 2026 20:593,297138,540,717107,806,000998,0002,506,752
12Jan 2, 2026 21:113,307136,533,616107,125,0002,002,0002,412,544
13Jan 2, 2026 21:113,308137,747,025106,145,0003,004,0002,412,544
14Jan 2, 2026 21:113,313133,175,355107,312,0002,005,0002,412,544
15Jan 2, 2026 21:113,313134,405,952108,328,0001,003,0002,416,640
16Jan 2, 2026 20:593,326139,500,961108,770,000997,0002,273,280
17Jan 2, 2026 21:113,326136,484,979107,749,0001,995,0002,408,448
18Jan 2, 2026 20:593,821147,538,268123,096,0003,002,0002,273,280