0_0_19810446_19007.cpp: In function 'int mod_exp(int, int, int)': 0_0_19810446_19007.cpp:7:5: error: 'res' was not declared in this scope res = 1 ; ^