Main.cc: In function 'int main()':
Main.cc:14:1: error: expected ';' before '}' token
} }}}
^
Main.cc:6:22: warning: unused variable 'num' [-Wunused-variable]
int i,j,k,p,e,l,d,num=0;
^
Main.cc: At global scope:
Main.cc:16:1: error: expected declaration before '}' token
}
^
Main.cc: In function 'int main()':
Main.cc:7:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&p,&e,&l,&d);
^