foo.c: In function 'main':
foo.c:5:62: warning: unused variable 'sum' [-Wunused-variable]
int d11,d12,d21,d22,d31,d32,d41,d42,d51,d52,d61,d62,d71,d72,sum;
^~~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&d11,&d12);
^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&d21,&d22);
^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&d31,&d32);
^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&d41,&d42);
^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:10:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&d51,&d52);
^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:11:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&d61,&d62);
^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:12:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&d71,&d72);
^~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务