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 1, 2026 16:58zielajzielajScore: 3,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2026 16:233,458138,762,017112,117,0002,002,0002,420,736
2Jan 1, 2026 16:273,462139,223,823112,236,0002,004,0002,420,736
3Jan 1, 2026 16:233,465133,006,596112,334,0002,005,0002,408,448
4Jan 1, 2026 16:273,486140,437,390113,052,0002,000,0002,502,656
5Jan 1, 2026 16:233,487136,905,541113,078,0002,001,0002,416,640
6Jan 1, 2026 16:233,496135,705,697113,355,0002,006,0002,420,736
7Jan 1, 2026 16:233,503145,402,870115,585,00002,273,280
8Jan 1, 2026 16:233,507144,871,849113,723,0001,995,0002,535,424
9Jan 1, 2026 16:333,507139,720,011114,724,000997,0002,375,680
10Jan 1, 2026 16:333,513137,054,912114,943,000999,0002,416,640
11Jan 1, 2026 16:273,516144,266,711113,038,0003,001,0002,535,424
12Jan 1, 2026 17:083,517139,378,318114,057,0002,001,0002,322,432
13Jan 1, 2026 17:083,519138,670,435114,113,0002,001,0002,412,544
14Jan 1, 2026 16:233,519143,377,975114,132,0002,002,0002,273,280
15Jan 1, 2026 16:263,523144,588,193114,261,0002,004,0002,334,720
16Jan 1, 2026 16:333,535146,271,100115,669,000997,0002,408,448
17Jan 1, 2026 16:233,537137,382,864115,728,0001,006,0002,535,424
18Jan 1, 2026 16:263,560143,954,307116,468,0001,004,0002,416,640
19Jan 1, 2026 16:233,564143,668,438116,627,000996,0002,535,424
20Jan 1, 2026 16:583,566146,153,998117,668,00002,318,336
21Jan 1, 2026 16:583,568139,747,166115,760,0001,995,0002,273,280
22Jan 1, 2026 16:263,580138,331,041116,139,0002,002,0002,412,544
23Jan 1, 2026 16:583,581142,567,322116,176,0002,003,0002,420,736
24Jan 1, 2026 17:083,599141,868,192116,765,0001,995,0002,535,424