foo.c: In function 'main':
foo.c:6:15: error: expected '(' before '\U0000ff08scanf_s'
6 | while (scanf_s("%d%d", &num1,
| ^~~~~~~~~
| (
foo.c:6:15: warning: implicit declaration of function '\U0000ff08scanf_s' [-Wimplicit-function-declaration]
6 | while (scanf_s("%d%d", &num1,
| ^~~~~~~~~
foo.c:6:34: error: 'num1' undeclared (first use in this function); did you mean 'num2'?
6 | while (scanf_s("%d%d", &num1,
| ^~~~
| num2
foo.c:6:34: note: each undeclared identifier is reported only once for each function it appears in
foo.c:6:9: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
6 | while (scanf_s("%d%d", &num1,
| ^~~~~
foo.c:6:9: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory
foo.c:30:36: error: expected declaration or statement at end of input
30 | }最小公倍数
| ^
foo.c:5:27: warning: unused variable 'tem' [-Wunused-variable]
5 | int p, mum1, num2,tem;
| ^~~
foo.c:5:22: warning: unused variable 'num2' [-Wunused-variable]
5 | int p, mum1, num2,tem;
| ^~~~
foo.c:5:16: warning: unused variable 'mum1' [-Wunused-variable]
5 | int p, mum1, num2,tem;
| ^~~~
foo.c:5:13: warning: unused variable 'p' [-Wunused-variable]
5 | int p, mum1, num2,tem;
| ^
[Hydro](https://hydro.ac)提供评测服务