0_0_21283930_1971.cpp: In function 'void init(int, int)': 0_0_21283930_1971.cpp:37:36: error: 'i' was not declared in this scope Hash[i]=Hash[i-1]*seed+(s1[i]-'a'+1); ^