In file included from foo.c:1:
/nix/store/rffag931pvbdiabwwa539wnwg1piqpx0-glibc-2.35-163-dev/include/bits/stdio.h:23:3: error: #error "Never include <bits/stdio.h> directly; use <stdio.h> instead."
23 | # error "Never include <bits/stdio.h> directly; use <stdio.h> instead."
| ^~~~~
foo.c: In function 'main':
foo.c:5:9: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
5 | scanf("%d%d", &a, &b);
| ^~~~~
foo.c:2:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
1 | # include<bits/stdio.h>
+++ |+#include <stdio.h>
2 | int main()
foo.c:5:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
5 | scanf("%d%d", &a, &b);
| ^~~~~
foo.c:5:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:9:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
9 | printf("%d", x);
| ^~~~~~
foo.c:9:9: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:9:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
foo.c:9:9: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务