bridges.c: In function 'main':
bridges.c:87:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
87 | scanf("%d%d", &n, &m);
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:89:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
89 | scanf("%d%d%d", &ii[h], &jj[h], &ww[h]), ii[h]--, jj[h]--;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bridges.c:90:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
90 | scanf("%d", &q);
| ^~~~~~~~~~~~~~~
bridges.c:95:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
95 | scanf("%d", &t);
| ^~~~~~~~~~~~~~~
bridges.c:97:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
97 | scanf("%d%d", &h, &w), h--;
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:102:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
102 | scanf("%d%d", &s, &w), s--;
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:116:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
116 | scanf("%d", &t);
| ^~~~~~~~~~~~~~~
bridges.c:118:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
118 | scanf("%d%d", &h, &w), h--;
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:123:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
123 | scanf("%d%d", &s, &w), s--;
| ^~~~~~~~~~~~~~~~~~~~~