0_0_18085844_5447.cpp: In function 'bool check(int)': 0_0_18085844_5447.cpp:79:13: error: 'dpi' was not declared in this scope dpi[][j] = 0; ^ 0_0_18085844_5447.cpp:79:17: error: expected primary-expression before ']' token dpi[][j] = 0; ^