0_0_28994086_26847.cpp: In function 'int main()': 0_0_28994086_26847.cpp:143:20: error: 'u' was not declared in this scope scanf("%d %d", &u, &v); ^ 0_0_28994086_26847.cpp:143:24: error: 'v' was not declared in this scope scanf("%d %d", &u, &v); ^