0_0_21685150_14076.cpp: In function 'int main()': 0_0_21685150_14076.cpp:11:2: error: expected ';' before 'for' for(long long d=0;d<a;d++){ ^ 0_0_21685150_14076.cpp:11:20: error: 'd' was not declared in this scope for(long long d=0;d<a;d++){ ^