0_0_13809490_26037.cpp:23:15: error: '#' is not followed by a macro parameter
#define lowb(i) ((i)&(-i))
^
0_0_13809490_26037.cpp:41:31: error: stray '#' in program
bool operator <(const my &u)const{
^
0_0_13809490_26037.cpp:48:17: error: stray '#' in program
string ans="(";
^
0_0_13809490_26037.cpp:48:23: error: stray '#' in program
string ans="(";
^
0_0_13809490_26037.cpp:50:21: error: stray '#' in program
char b[10]="P";
^
0_0_13809490_26037.cpp:50:27: error: stray '#' in program
char b[10]="P";
^
0_0_13809490_26037.cpp:51:22: error: stray '#' in program
sprintf(b+1,"%d",u);
^
0_0_13809490_26037.cpp:51:29: error: stray '#' in program
sprintf(b+1,"%d",u);
^
0_0_13809490_26037.cpp:55:15: error: stray '#' in program
ans+="(";
^
0_0_13809490_26037.cpp:55:21: error: stray '#' in program
ans+="(";
^
0_0_13809490_26037.cpp:59:24: error: stray '#' in program
else ans+="|";
^
0_0_13809490_26037.cpp:59:30: error: stray '#' in program
else ans+="|";
^
0_0_13809490_26037.cpp:62:15: error: stray '#' in program
ans+=")";
^
0_0_13809490_26037.cpp:62:21: error: stray '#' in program
ans+=")";
^
0_0_13809490_26037.cpp:64:11: error: stray '#' in program
ans+=")";
^
0_0_13809490_26037.cpp:64:17: error: stray '#' in program
ans+=")";
^
0_0_13809490_26037.cpp:123:17: error: stray '#' in program
printf("Case %d: %d ",ti++,ans);
^
0_0_13809490_26037.cpp:123:34: error: stray '#' in program
printf("Case %d: %d ",ti++,ans);
^
0_0_13809490_26037.cpp:127:18: error: stray '#' in program
else printf("Case %d: %d\n",ti++,ans);
^
0_0_13809490_26037.cpp:127:5: error: stray '\' in program
else printf("Case %d: %d\n",ti++,ans);
^
0_0_13809490_26037.cpp:127:36: error: stray '#' in program
else printf("Case %d: %d\n",ti++,ans);
^
0_0_13809490_26037.cpp:128:11: error: stray '#' in program
puts("");
^
0_0_13809490_26037.cpp:128:16: error: stray '#' in program
puts("");
^
0_0_13809490_26037.cpp:132:18: error: stray '#' in program
while(scanf("%d%d%d",&n,&m,&o),n+m+o){
^
0_0_13809490_26037.cpp:132:29: error: stray '#' in program
while(scanf("%d%d%d",&n,&m,&o),n+m+o){
^
0_0_13809490_26037.cpp:132:35: error: stray '#' in program
while(scanf("%d%d%d",&n,&m,&o),n+m+o){
^
0_0_13809490_26037.cpp:132:42: error: stray '#' in program
while(scanf("%d%d%d",&n,&m,&o),n+m+o){
^
0_0_13809490_26037.cpp:132:49: error: stray '#' in program
while(scanf("%d%d%d",&n,&m,&o),n+m+o){
^
0_0_13809490_26037.cpp:133:16: error: stray '#' in program
scanf("%s",a+1);
^
0_0_13809490_26037.cpp:133:23: error: stray '#' in program
scanf("%s",a+1);
^
0_0_13809490_26037.cpp:139:20: error: stray '#' in program
scanf("%d",T+i);
^
0_0_13809490_26037.cpp:139:27: error: stray '#' in program
scanf("%d",T+i);
^
0_0_13809490_26037.cpp:143:20: error: stray '#' in program
scanf("%d",&p);
^
0_0_13809490_26037.cpp:143:27: error: stray '#' in program
scanf("%d",&p);
^
0_0_13809490_26037.cpp:143:33: error: stray '#' in program
scanf("%d",&p);
^
0_0_13809490_26037.cpp:146:24: error: stray '#' in program
scanf("%d",&q);
^
0_0_13809490_26037.cpp:146:31: error: stray '#' in program
scanf("%d",&q);
^
0_0_13809490_26037.cpp:146:37: error: stray '#' in program
scanf("%d",&q);
^
0_0_13809490_26037.cpp:149:20: error: stray '#' in program
scanf("%d",&p);
^
0_0_13809490_26037.cpp:149:27: error: stray '#' in program
scanf("%d",&p);
^
0_0_13809490_26037.cpp:149:33: error: stray '#' in program
scanf("%d",&p);
^
0_0_13809490_26037.cpp:152:24: error: stray '#' in program
scanf("%d",&q);
^
0_0_13809490_26037.cpp:152:31: error: stray '#' in program
scanf("%d",&q);
^
0_0_13809490_26037.cpp:152:37: error: stray '#' in program
scanf("%d",&q);
^
0_0_13809490_26037.cpp: In function 'void addedge(int, int)':
0_0_13809490_26037.cpp:35:5: error: reference to 'next' is ambiguous
next[ed]=first[u];
^
0_0_13809490_26037.cpp:32:17: note: candidates are: int next [1000]
int first[1000],next[1000],v[1000],ed;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_13809490_26037.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_13809490_26037.cpp: At global scope:
0_0_13809490_26037.cpp:41:32: error: expected ',' or '...' before numeric constant
bool operator <(const my &u)const{
^
0_0_13809490_26037.cpp:41:34: error: expected ')' before ';' token
bool operator <(const my &u)const{
^
0_0_13809490_26037.cpp:41:35: error: 'u' does not name a type
bool operator <(const my &u)const{
^
0_0_13809490_26037.cpp: In function 'std::string dfs(int)':
0_0_13809490_26037.cpp:48:18: error: lvalue required as unary '&' operand
string ans="(";
^
0_0_13809490_26037.cpp:48:24: error: lvalue required as unary '&' operand
string ans="(";
^
0_0_13809490_26037.cpp:48:26: error: expected ')' before ';' token
string ans="(";
^
0_0_13809490_26037.cpp:50:22: error: lvalue required as unary '&' operand
char b[10]="P";
^
0_0_13809490_26037.cpp:50:25: error: 'P' was not declared in this scope
char b[10]="P";
^
0_0_13809490_26037.cpp:51:23: error: lvalue required as unary '&' operand
sprintf(b+1,"%d",u);
^
0_0_13809490_26037.cpp:51:26: error: expected primary-expression before '%' token
sprintf(b+1,"%d",u);
^
0_0_13809490_26037.cpp:51:27: error: 'd' was not declared in this scope
sprintf(b+1,"%d",u);
^
0_0_13809490_26037.cpp:51:33: error: expected primary-expression before ',' token
sprintf(b+1,"%d",u);
^
0_0_13809490_26037.cpp:55:16: error: lvalue required as unary '&' operand
ans+="(";
^
0_0_13809490_26037.cpp:55:22: error: lvalue required as unary '&' operand
ans+="(";
^
0_0_13809490_26037.cpp:55:24: error: expected ')' before ';' token
ans+="(";
^
0_0_13809490_26037.cpp:57:33: error: reference to 'next' is ambiguous
for(int i=first[u];~i;i=next[i]){
^
0_0_13809490_26037.cpp:32:17: note: candidates are: int next [1000]
int first[1000],next[1000],v[1000],ed;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4
|