/in/foo.c: In function 'main':
/in/foo.c:12:24: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'char *' [-Wformat=]
scanf("%s %d %d %d %d %d",name,&a,&b,&c,&d,&e);
^
/in/foo.c:12:27: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'char *' [-Wformat=]
scanf("%s %d %d %d %d %d",name,&a,&b,&c,&d,&e);
^
/in/foo.c:19:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(chenji>max);
^~
/in/foo.c:20:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
{max=chenji;
^