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 5, 2026 06:04Josu San MartinJosu San MartinScore: 20,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 03:0818,799653,860,414615,370,0004,994,0002,486,272
2Jan 3, 2026 03:0818,995653,960,788621,850,0004,998,0002,293,760
3Jan 3, 2026 03:0819,182658,734,621628,005,0005,000,0002,387,968
4Jan 3, 2026 03:0819,352665,134,014635,602,0002,998,0002,490,368
5Jan 3, 2026 03:0819,684674,987,954644,572,0004,996,0002,265,088
6Jan 3, 2026 03:0819,981684,449,981652,386,0006,993,0002,338,816
7Jan 3, 2026 03:0820,510705,087,865671,842,0004,998,0002,342,912
8Jan 3, 2026 03:0820,929717,301,699686,647,0003,997,0002,342,912
9Jan 3, 2026 03:0821,202724,769,095695,682,0003,998,0002,338,816
10Jan 5, 2026 06:0426,139889,387,982856,594,0005,997,0002,342,912
11Jan 5, 2026 06:0426,496891,855,370872,359,0001,998,0002,285,568
12Jan 5, 2026 06:0426,602903,985,239873,870,0003,999,0002,338,816