0_0_29330828_4120.cpp:1:2: error: stray '#' in program
v#include <bits/stdc++.h>
^
0_0_29330828_4120.cpp:1:1: error: 'v' does not name a type
v#include <bits/stdc++.h>
^
0_0_29330828_4120.cpp: In function 'bool cal(double)':
0_0_29330828_4120.cpp:41:14: error: 'fabs' was not declared in this scope
if(fabs(x)<eps) return 0;
^
0_0_29330828_4120.cpp: In function 'void judge()':
0_0_29330828_4120.cpp:48:26: error: 'memset' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_29330828_4120.cpp:51:5: error: 'priority_queue' was not declared in this scope
priority_queue <node> q;
^
0_0_29330828_4120.cpp:51:25: error: expected primary-expression before '>' token
priority_queue <node> q;
^
0_0_29330828_4120.cpp:51:27: error: 'q' was not declared in this scope
priority_queue <node> q;
^
0_0_29330828_4120.cpp: In function 'int main()':
0_0_29330828_4120.cpp:83:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_29330828_4120.cpp:86:36: error: 'memset' was not declared in this scope
memset(head,-1,sizeof(head));
^
0_0_29330828_4120.cpp:108:26: error: 'printf' was not declared in this scope
printf("-1\n");
^
0_0_29330828_4120.cpp:113:31: error: 'log2' was not declared in this scope
ans=floor(log2(ans));
^
0_0_29330828_4120.cpp:113:32: error: 'floor' was not declared in this scope
ans=floor(log2(ans));
^
0_0_29330828_4120.cpp:114:32: error: 'printf' was not declared in this scope
printf("%lld\n",ans);
^
|