[size=11.000000pt]int [size=11.000000pt]keyIndexOfString([size=11.000000pt]char [size=11.000000pt]str[],[size=11.000000pt]char [size=11.000000pt]key,[size=11.000000pt]int [size=11.000000pt]len){
[size=11.000000pt]for [size=11.000000pt]([size=11.000000pt]int [size=11.000000pt]i = [size=11.000000pt]0[size=11.000000pt]; i < len; i++) {[size=11.000000pt]printf[size=11.000000pt]([size=11.000000pt]"%d\n"[size=11.000000pt],i);
[size=11.000000pt]if [size=11.000000pt](str == key) {
[size=11.000000pt]return [size=11.000000pt]i;}
[size=11.000000pt]}
[size=11.000000pt]return [size=11.000000pt]-[size=11.000000pt]1[size=11.000000pt];[size=11.000000pt]}
|
|