0_0_39026440_7106.cpp: In function 'int main()':
0_0_39026440_7106.cpp:6:16: error: 'scanf' was not declared in this scope
6 | while(~scanf("%d%d%d%d",&a,&b,&c,&i)){
| ^~~~~
0_0_39026440_7106.cpp:23:17: error: 'printf' was not declared in this scope
23 | printf("%lld\n",num[i]);
| ^~~~~~
0_0_39026440_7106.cpp:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
1 | #include<string.h>
+++ |+#include <cstdio>
2 | #define min(x,y) ((x)<(y))?(x):(y)
|