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 22:57zielajzielajScore: 3,191Success
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 21:343,095124,699,386100,144,0002,002,0002,273,280
2Jan 2, 2026 21:343,125124,231,868101,137,0002,002,0002,535,424
3Jan 2, 2026 21:313,137126,207,546102,509,0001,004,0002,424,832
4Jan 2, 2026 21:343,145135,974,696103,798,00002,408,448
5Jan 2, 2026 21:343,152125,203,505102,032,0002,000,0002,424,832
6Jan 2, 2026 21:343,156129,942,463101,154,0003,004,0002,404,352
7Jan 2, 2026 21:343,158128,573,582102,206,0002,004,0002,420,736
8Jan 2, 2026 21:343,191125,295,849104,314,0001,003,0002,412,544
9Jan 2, 2026 21:313,199130,456,576104,550,0001,005,0002,412,544
10Jan 2, 2026 21:313,210131,627,674103,946,0001,998,0002,420,736
11Jan 2, 2026 22:573,245130,438,390104,072,0003,002,0002,502,656
12Jan 2, 2026 22:573,258132,026,826106,522,0001,004,0002,420,736
13Jan 2, 2026 21:343,270129,069,960105,899,0001,998,0002,424,832
14Jan 2, 2026 22:573,364135,452,937109,011,0002,000,0002,420,736
15Jan 2, 2026 21:343,650143,443,168119,462,0001,003,0002,326,528