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