0_0_17931356_28672.cpp: In function 'int main()': 0_0_17931356_28672.cpp:27:27: error: 'num' was not declared in this scope for(int j=min(num[i],s);j>=0;j--) ^