0_0_13813314_4509.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813314_4509.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813314_4509.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813314_4509.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813314_4509.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813314_4509.cpp: In function 'int main()':
0_0_13813314_4509.cpp:15:17: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_13813314_4509.cpp:20:28: error: 'memset' was not declared in this scope
memset(dp,0,sizeof(dp));
^
0_0_13813314_4509.cpp:24:8: error: expected ';' before 'for'
for(int j=1;j
^
0_0_13813314_4509.cpp:24:8: error: expected primary-expression before 'for'
0_0_13813314_4509.cpp:24:8: error: expected ')' before 'for'
0_0_13813314_4509.cpp:25:9: error: expected ';' before 'for'
for(int k=max(i,j);k
^
0_0_13813314_4509.cpp:25:9: error: expected primary-expression before 'for'
0_0_13813314_4509.cpp:25:9: error: expected ')' before 'for'
0_0_13813314_4509.cpp:25:26: error: 'max' was not declared in this scope
for(int k=max(i,j);k
^
0_0_13813314_4509.cpp:26:9: error: expected ';' before '{' token
{
^
0_0_13813314_4509.cpp:26:9: error: expected primary-expression before '{' token
0_0_13813314_4509.cpp:26:9: error: expected ')' before '{' token
0_0_13813314_4509.cpp:32:14: error: expected ')' before '{' token
{
^
0_0_13813314_4509.cpp:47:9: error: expected primary-expression before '}' token
}
^
0_0_13813314_4509.cpp:49:36: error: 'max' was not declared in this scope
int cnt=max(n*(m-1),m*(n-1))+1;
^
0_0_13813314_4509.cpp:52:9: error: expected ';' before '{' token
{
^
0_0_13813314_4509.cpp:52:9: error: expected primary-expression before '{' token
0_0_13813314_4509.cpp:52:9: error: expected ')' before '{' token
0_0_13813314_4509.cpp:58:30: error: 'printf' was not declared in this scope
printf("%.12lf\n",ans);
^
|