report VI VI EN
Register | Login
  • HOME
  • PROBLEMSET
  • ROADMAP
  • COMPETITION
  • TOPIC
  • RANKING
  • GUIDE
  • MASHUP
  • ABOUT
  • CONTACT
  • Problem
  • Submit
  • Results
Full - MarisaOJ: Marisa Online Judge

Full

Time limit: 1000 ms
Memory limit: 256 MB
For $n$ strings composed of lowercase letters, determine how many ways there are to select a set of strings from the given $n$ strings such that all 26 letters appear in the selected strings. Two selection methods are considered different if a string is chosen in one method but not in the other. ### Input - The first line contains an integer $n$. - The next $n$ lines each contain a string. ### Output - Print the number of ways to make the selection. ### Constraints - $1 \le n \le 25$. - The length of each string does not exceed $50$. ### Example Input: ``` 8 the quick brown fox jumps over lazy dog ``` Output: ``` 1 ```
Bitwise operations
Trick-OR-Treat
Bitwise operations 1
Bitwise operations 2
Bitwise operations 3
XOR pair
Full
Range XOR
Cyclic shift
XOR
XORray
Minimum Xor Pair Query
Topic
Complete Search
Bitmasks
Rating 1300
Solution (1) Solution