foo.c: In function 'main':
foo.c:6:44: error: expected expression before '%' token
scanf("%d %d %d %d %d %d %d %d %d %d",&a1,%a2,&a3,&a4,&a5,&a6,&a7,&a8,&a9,&a10);
^
foo.c:5:24: warning: unused variable 't7' [-Wunused-variable]
int t1,t2,t3,t4,t5,t6,t7;
^~
foo.c:5:21: warning: unused variable 't6' [-Wunused-variable]
int t1,t2,t3,t4,t5,t6,t7;
^~
foo.c:5:18: warning: unused variable 't5' [-Wunused-variable]
int t1,t2,t3,t4,t5,t6,t7;
^~
foo.c:5:15: warning: unused variable 't4' [-Wunused-variable]
int t1,t2,t3,t4,t5,t6,t7;
^~
foo.c:5:12: warning: unused variable 't3' [-Wunused-variable]
int t1,t2,t3,t4,t5,t6,t7;
^~
foo.c:5:9: warning: unused variable 't2' [-Wunused-variable]
int t1,t2,t3,t4,t5,t6,t7;
^~
foo.c:5:6: warning: unused variable 't1' [-Wunused-variable]
int t1,t2,t3,t4,t5,t6,t7;
^~