Main.cc: In function 'int main()':
Main.cc:6:28: warning: too many arguments for format [-Wformat-extra-args]
scanf("%d%d%d",&a,&b,&c,&d);
^
Main.cc:11:2: error: expected ';' before '}' token
}
^
Main.cc:6:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&c,&d);
^