Run id: 148223
Main.cc: In function 'int run(int)':
Main.cc:9:47: error: expected ')' before '{' token
if((year%4==0&&year%100!=0)||(year%400==0){
^
Main.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
}int main(){
^
Main.cc: In function 'int main()':
Main.cc:18:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
Main.cc:20:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d-%d-%d",&year,&month,&day);
^