0_0_23985745_21687.cpp: In function 'int main()': 0_0_23985745_21687.cpp:16:26: error: 'V' was not declared in this scope scanf("%d%d",&n,&V); ^