foo.c: In function 'main':
foo.c:11:28: warning: missing terminating ' character
11 | while (scanf("%d%d"' &x1, &x2) == 2)
| ^
foo.c:11:28: error: missing terminating ' character
11 | while (scanf("%d%d"' &x1, &x2) == 2)
| ^~~~~~~~~~~~~~~~~
foo.c:11:28: error: expected ')' before '{' token
11 | while (scanf("%d%d"' &x1, &x2) == 2)
| ~ ^
| )
12 | {
| ~
foo.c:11:24: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
11 | while (scanf("%d%d"' &x1, &x2) == 2)
| ~^
| |
| int *
foo.c:11:26: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
11 | while (scanf("%d%d"' &x1, &x2) == 2)
| ~^
| |
| int *
foo.c:16:17: error: expected ')' before '}' token
16 | return 0
| ^
| )
17 | }
| ~
foo.c:11:15: note: to match this '('
11 | while (scanf("%d%d"' &x1, &x2) == 2)
| ^
foo.c:17:1: error: expected expression before '}' token
17 | }
| ^
foo.c:10:21: warning: unused variable 'x' [-Wunused-variable]
10 | int x1, x2, x;
| ^
foo.c:10:17: warning: unused variable 'x2' [-Wunused-variable]
10 | int x1, x2, x;
| ^~
foo.c:10:13: warning: unused variable 'x1' [-Wunused-variable]
10 | int x1, x2, x;
| ^~
[Hydro](https://hydro.ac)提供评测服务