0_0_38881858_7305.cpp: In function 'int main()':
0_0_38881858_7305.cpp:5:15: error: 'scanf' was not declared in this scope
5 | while(scanf("%d%d%d",&a,&b,&n),!(a==0 && b==0 && n==0))
| ^~~~~
0_0_38881858_7305.cpp:12:17: error: 'printf' was not declared in this scope
12 | printf("%d\n",f[(n-1)%49]);
| ^~~~~~
0_0_38881858_7305.cpp:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
1 | #include<string.h>
+++ |+#include <cstdio>
2 | int main()
|