0_0_29287108_32528.cpp: In function 'int main()': 0_0_29287108_32528.cpp:27:20: error: invalid type argument of unary '*' (have 'int') scanf("%d%d", &t, *k); ^