foo.c: In function 'main':
foo.c:24:16: warning: unused variable 'lcm1' [-Wunused-variable]
int gcd1 = x, lcm1 = x;
^~~~
foo.c:21:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^~~~~~~~~~~~~~~
foo.c:23:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^~~~~~~~~~~~~~~
foo.c:26:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务