竞赛
考级
袁老师版题解
programmerGYM
#include <bits/stdc++.h> using namespace() { string word, text; getline(cin, word); getline(cin, text); }
皮皮虾_复仇者_钧
bool left = (pos == 0 || !isalpha(s[pos - 1])); bool right = (pos + len == s.size() || !isalpha(s[pos + len]));
132****3426
a=input().lower() b=list(input().lower().split()) n=0 idx=-1 for i in range(len(b)): if b[i]a: if idx-1: idx=i n+=1 if n==0: print('-1') else: print("%d %d"%(n,idx))
扶摇万里 (互关)
ACGO