0_0_24619839_32759.cpp: In function 'int main()': 0_0_24619839_32759.cpp:20:12: error: request for member 'num' in 'a[i]', which is of non-class type 'int' if(a[i].num-1000<=n){ ^