0_0_21020935_20090.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdio>
^
0_0_21020935_20090.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include <algorithm>
^
0_0_21020935_20090.cpp:3:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_21020935_20090.cpp:3:21: error: expected identifier before '&' token
using namespace std;
^
0_0_21020935_20090.cpp:3:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020935_20090.cpp:3:27: error: 'std' does not name a type
using namespace std;
^
0_0_21020935_20090.cpp:3:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020935_20090.cpp:3:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020935_20090.cpp:4:7: error: expected identifier before '&' token
struct Node
^
0_0_21020935_20090.cpp:4:12: error: invalid type in declaration before ';' token
struct Node
^
0_0_21020935_20090.cpp:4:12: error: 'nbsp' declared as reference but not initialized
0_0_21020935_20090.cpp:4:13: error: 'Node' does not name a type
struct Node
^
0_0_21020935_20090.cpp:4:28: error: expected constructor, destructor, or type conversion before ';' token
struct Node
^
0_0_21020935_20090.cpp:5:1: error: expected unqualified-id before '{' token
{
^
0_0_21020935_20090.cpp:7:8: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_21020935_20090.cpp:7:14: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_21020935_20090.cpp:8:1: error: 'Node' does not name a type
Node roads[10001];
^
0_0_21020935_20090.cpp:8:11: error: 'roads' does not name a type
Node roads[10001];
^
0_0_21020935_20090.cpp:8:29: error: expected constructor, destructor, or type conversion before ';' token
Node roads[10001];
^
0_0_21020935_20090.cpp:8:35: error: expected constructor, destructor, or type conversion before ';' token
Node roads[10001];
^
0_0_21020935_20090.cpp:9:5: error: redefinition of 'int& nbsp'
int n,m;
^
0_0_21020935_20090.cpp:4:8: note: 'int& nbsp' previously declared here
struct Node
^
0_0_21020935_20090.cpp:9:10: error: 'n' does not name a type
int n,m;
^
0_0_21020935_20090.cpp:9:19: error: expected constructor, destructor, or type conversion before ';' token
int n,m;
^
0_0_21020935_20090.cpp:9:25: error: expected constructor, destructor, or type conversion before ';' token
int n,m;
^
0_0_21020935_20090.cpp:10:5: error: redefinition of 'int& nbsp'
int sum;
^
0_0_21020935_20090.cpp:4:8: note: 'int& nbsp' previously declared here
struct Node
^
0_0_21020935_20090.cpp:10:10: error: 'sum' does not name a type
int sum;
^
0_0_21020935_20090.cpp:10:19: error: expected constructor, destructor, or type conversion before ';' token
int sum;
^
0_0_21020935_20090.cpp:10:25: error: expected constructor, destructor, or type conversion before ';' token
int sum;
^
0_0_21020935_20090.cpp:11:6: error: conflicting declaration 'bool& nbsp'
bool cmp(Node n1,Node n2)
^
0_0_21020935_20090.cpp:4:8: note: previous declaration as 'int& nbsp'
struct Node
^
0_0_21020935_20090.cpp:11:14: error: expected constructor, destructor, or type conversion before '(' token
bool cmp(Node n1,Node n2)
^
0_0_21020935_20090.cpp:11:25: error: 'n1' does not name a type
bool cmp(Node n1,Node n2)
^
0_0_21020935_20090.cpp:11:38: error: 'n2' does not name a type
bool cmp(Node n1,Node n2)
^
0_0_21020935_20090.cpp:11:52: error: expected constructor, destructor, or type conversion before ';' token
bool cmp(Node n1,Node n2)
^
0_0_21020935_20090.cpp:12:1: error: expected unqualified-id before '{' token
{
^
0_0_21020935_20090.cpp:14:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21020935_20090.cpp:14:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21020935_20090.cpp:15:5: error: redefinition of 'int& nbsp'
int main()
^
0_0_21020935_20090.cpp:4:8: note: 'int& nbsp' previously declared here
struct Node
^
0_0_21020935_20090.cpp:15:17: error: expected constructor, destructor, or type conversion before 'nbsp'
int main()
^
0_0_21020935_20090.cpp:15:27: error: expected constructor, destructor, or type conversion before ';' token
int main()
^
0_0_21020935_20090.cpp:16:1: error: expected unqualified-id before '{' token
{
^
|