Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm setting up an old wireless router for a friend which uses WEP (Yeah, very old, not actually very secure, but enough to keep the non-technical people in her apartment complex from sucking bandwidth) and I need to have a 10 digit hexadecimal key as the password.
So the question is, what english words can be made using the hexadecimal character set:
1 2 3 4 5 6 7 8 9 0 A B C D E F
BEEF is an example. I think that leet character would be allowed as well, So the number 0 could be used for the letter o. This lets you make the word BEA7.
Java CAFEBABE, COFEEBABE or DEADBEEF for instance. You might like to check HexWords or Ned Batchelder Hex Words for a lot more examples.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I have 18 elements (2a, 2b, 2c, 3d, 4e, 5f) that I need to distribute into 6 groups of 3.
I want to now the number of unique combinations I can make with those rules.
I read various website but as of now I only find way to measure the combination of 18 different elements into 6 group of 3
=(FACT(18)/FACT(18-3))*(FACT(15)/FACT(15-3))*(FACT(12)/FACT(12-3))*(FACT(9)/FACT(9-3))*(FACT(6)/FACT(6-3))
And I’m not even sure of what I did :D
Thanks a lot for your help
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Alright, so one of my friends challenged me to get this done, but I just can't get very far....
What he asked me to do is to make a program that shows and counts ALL the possible parts of an entered number.
Example for 5:
1+1+1+1+1
2+1+1+1
3+1+1
4+1
5
3+2
2+2+1
I would like the program to be written in either C++ or some pseudocode, I wouldn't mind for either.
Anticipated thanks to you all!
Edit: Not duplicate. I requested a solution in c++; and the other one is in Python. Also, my question asks for ALL possible parts that added return the initial number.
For non zero partitions ( imagine boolean separators in array of 1)
2 ** (n-1)
This list would include both 2 + 3 and 3 + 2.
If you allow 0 then infinite.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I am trying to find an ascii formation to have a unit in a graph in exponent -2 and -3. For example mm^(-2). I found the relevant ascii formation for exponent 2 and 3 but i cannot find how to include the - sympol in the exponent.
Do you have any suggestions?
It depends on the character set you are using. If Unicode then there is 'SUPERSCRIPT MINUS' (U+207B) but not superscript minus two. So, as two characters, mm⁻².
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have an input text
inputQ <- "What can I do ..my baby has rash all over. Suggest good rash cream"
I have a list of terms
terms <- c("diaper","cloth diaper","rash pants","rash","baby wipes","rash cream")
I wish to exact match one of the terms and return it as well
I tried using for loop, but is there a better method
Result should be
rash cream
stored in matchedTerm
You can try to get all the matches, then check for the one with the biggest number of characters:
wh_match <- names(unlist(sapply(terms, grep, inputQ)))
wh_match[which.max(nchar(wh_match))]
# [1] "rash cream"
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
How can convert between the two grading system? The spanish 4-point scale and the Italian grade scale. I'm stuck in the problem because the a 2 in spain grade is like B grade in a ECTS usual scale and a cross-multiplication doesn't work.
[1] http://en.wikipedia.org/wiki/Academic_grading_in_Spain
[2] http://en.wikipedia.org/wiki/Academic_grading_in_Italy
You can't really accurately convert between two systems that have different precisions. Your best bet is to look at the corresponding approximate ECTS conversions for the both systems and estimate.
The conversion is non-linear so I would suggest doing a simple case-by-case conversion using if/switch statements.