bridges.c: In function 'main':
bridges.c:88:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
88 | scanf("%d%d", &n, &m);
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:90:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
90 | scanf("%d%d%d", &ii[h], &jj[h], &ww[h]), ii[h]--, jj[h]--;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bridges.c:91:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
91 | scanf("%d", &q);
| ^~~~~~~~~~~~~~~
bridges.c:96:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
96 | scanf("%d", &t);
| ^~~~~~~~~~~~~~~
bridges.c:98:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
98 | scanf("%d%d", &h, &w), h--;
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:103:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
103 | scanf("%d%d", &s, &w), s--;
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:117:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
117 | scanf("%d", &t);
| ^~~~~~~~~~~~~~~
bridges.c:119:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
119 | scanf("%d%d", &h, &w), h--;
| ^~~~~~~~~~~~~~~~~~~~~
bridges.c:124:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
124 | scanf("%d%d", &s, &w), s--;
| ^~~~~~~~~~~~~~~~~~~~~