0_0_39152309_23217.cpp: In function 'bool input()':
0_0_39152309_23217.cpp:12:15: error: 'cin' was not declared in this scope
12 | while(cin>>r>>c) {
| ^~~
0_0_39152309_23217.cpp: In function 'void cal()':
0_0_39152309_23217.cpp:37:9: error: 'printf' was not declared in this scope
37 | printf("%.3lf\n",dp[0][0]);
| ^~~~~~
0_0_39152309_23217.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | int r,c;
|