记录详情

Compile Error

/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>
         ^
/in/foo.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstddef>
         ^
/in/foo.cc:4:6: error: stray '\302' in program
 using namespace std;
      ^
/in/foo.cc:4:7: error: stray '\240' in program
 using namespace std;
       ^
/in/foo.cc:4:17: error: stray '\302' in program
 using namespace std;
                 ^
/in/foo.cc:4:18: error: stray '\240' in program
 using namespace std;
                  ^
/in/foo.cc:6:7: error: stray '\302' in program
 struct Node
       ^
/in/foo.cc:6:8: error: stray '\240' in program
 struct Node
        ^
/in/foo.cc:8:5: error: stray '\302' in program
 char data;
     ^
/in/foo.cc:8:6: error: stray '\240' in program
 char data;
      ^
/in/foo.cc:9:6: error: stray '\302' in program
 Node* left;
      ^
/in/foo.cc:9:7: error: stray '\240' in program
 Node* left;
       ^
/in/foo.cc:10:6: error: stray '\302' in program
 Node* right;
      ^
/in/foo.cc:10:7: error: stray '\240' in program
 Node* right;
       ^
/in/foo.cc:12:10: error: stray '\302' in program
 Node(char e) : data(e), left(NULL), right(NULL)
          ^
/in/foo.cc:12:11: error: stray '\240' in program
 Node(char e) : data(e), left(NULL), right(NULL)
           ^
/in/foo.cc:12:14: error: stray '\302' in program
 Node(char e) : data(e), left(NULL), right(NULL)
              ^
/in/foo.cc:12:15: error: stray '\240' in program
 Node(char e) : data(e), left(NULL), right(NULL)
               ^
/in/foo.cc:12:17: error: stray '\302' in program
 Node(char e) : data(e), left(NULL), right(NULL)
                 ^
/in/foo.cc:12:18: error: stray '\240' in program
 Node(char e) : data(e), left(NULL), right(NULL)
                  ^
/in/foo.cc:12:27: error: stray '\302' in program
 Node(char e) : data(e), left(NULL), right(NULL)
                           ^
/in/foo.cc:12:28: error: stray '\240' in program
 Node(char e) : data(e), left(NULL), right(NULL)
                            ^
/in/foo.cc:12:40: error: stray '\302' in program
 Node(char e) : data(e), left(NULL), right(NULL)
                                        ^
/in/foo.cc:12:41: error: stray '\240' in program
 Node(char e) : data(e), left(NULL), right(NULL)
                                         ^
/in/foo.cc:20:6: error: stray '\302' in program
 class BinTree
      ^
/in/foo.cc:20:7: error: stray '\240' in program
 class BinTree
       ^
/in/foo.cc:23:6: error: stray '\302' in program
 Node* root;
      ^
/in/foo.cc:23:7: error: stray '\240' in program
 Node* root;
       ^
/in/foo.cc:24:6: error: stray '\302' in program
 Node* createTreeByPrev(char* pre, int& i);
      ^
/in/foo.cc:24:7: error: stray '\240' in program
 Node* createTreeByPrev(char* pre, int& i);
       ^
/in/foo.cc:24:30: error: stray '\302' in program
 Node* createTreeByPrev(char* pre, int& i);
                              ^
/in/foo.cc:24:31: error: stray '\240' in program
 Node* createTreeByPrev(char* pre, int& i);
                               ^
/in/foo.cc:24:36: error: stray '\302' in program
 Node* createTreeByPrev(char* pre, int& i);
                                    ^
/in/foo.cc:24:37: error: stray '\240' in program
 Node* createTreeByPrev(char* pre, int& i);
                                     ^
/in/foo.cc:24:42: error: stray '\302' in program
 Node* createTreeByPrev(char* pre, int& i);
                                          ^
/in/foo.cc:24:43: error: stray '\240' in program
 Node* createTreeByPrev(char* pre, int& i);
                                           ^
/in/foo.cc:25:5: error: stray '\302' in program
 void Order(Node* node);
     ^
/in/foo.cc:25:6: error: stray '\240' in program
 void Order(Node* node);
      ^
/in/foo.cc:25:18: error: stray '\302' in program
 void Order(Node* node);
                  ^
/in/foo.cc:25:19: error: stray '\240' in program
 void Order(Node* node);
                   ^
/in/foo.cc:26:5: error: stray '\302' in program
 void DestoryAll(Node* node);
     ^
/in/foo.cc:26:6: error: stray '\240' in program
 void DestoryAll(Node* node);
      ^
/in/foo.cc:26:23: error: stray '\302' in program
 void DestoryAll(Node* node);
                       ^
/in/foo.cc:26:24: error: stray '\240' in program
 void DestoryAll(Node* node);
                        ^
/in/foo.cc:27:4: error: stray '\302' in program
 int count(Node* node);
    ^
/in/foo.cc:27:5: error: stray '\240' in program
 int count(Node* node);
     ^
/in/foo.cc:27:17: error: stray '\302' in program
 int count(Node* node);
                 ^
/in/foo.cc:27:18: error: stray '\240' in program
 int count(Node* node);
                  ^
/in/foo.cc:30:5: error: stray '\302' in program
 void DestoryAll();
     ^
/in/foo.cc:30:6: error: stray '\240' in program
 void DestoryAll();
      ^
/in/foo.cc:31:8: error: stray '\302' in program
 virtual ~BinTree();
        ^
/in/foo.cc:31:9: error: stray '\240' in program
 virtual ~BinTree();
         ^
/in/foo.cc:32:13: error: stray '\302' in program
 BinTree(char pre[]);
             ^
/in/foo.cc:32:14: error: stray '\240' in program
 BinTree(char pre[]);
              ^
/in/foo.cc:33:4: error: stray '\302' in program
 int count();
    ^
/in/foo.cc:33:5: error: stray '\240' in program
 int count();
     ^
/in/foo.cc:34:5: error: stray '\302' in program
 void Order();
     ^
/in/foo.cc:34:6: error: stray '\240' in program
 void Order();
      ^
/in/foo.cc:37:7: error: stray '\302' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
       ^
/in/foo.cc:37:8: error: stray '\240' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
        ^
/in/foo.cc:37:14: error: stray '\302' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
              ^
/in/foo.cc:37:15: error: stray '\240' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
               ^
/in/foo.cc:37:47: error: stray '\302' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
                                               ^
/in/foo.cc:37:48: error: stray '\240' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
                                                ^
/in/foo.cc:37:53: error: stray '\302' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
                                                     ^
/in/foo.cc:37:54: error: stray '\240' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
                                                      ^
/in/foo.cc:37:59: error: stray '\302' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
                                                           ^
/in/foo.cc:37:60: error: stray '\240' in program
 inline Node* BinTree::createTreeByPrev(char* pre, int& i)
                                                            ^
/in/foo.cc:39:5: error: stray '\302' in program
 char c = pre[i++];
     ^
/in/foo.cc:39:6: error: stray '\240' in program
 char c = pre[i++];
      ^
/in/foo.cc:39:8: error: stray '\302' in program
 char c = pre[i++];
        ^
/in/foo.cc:39:9: error: stray '\240' in program
 char c = pre[i++];
         ^
/in/foo.cc:39:11: error: stray '\302' in program
 char c = pre[i++];
           ^
/in/foo.cc:39:12: error: stray '\240' in program
 char c = pre[i++];
            ^
/in/foo.cc:40:3: error: stray '\302' in program
 if (c == '*')
   ^
/in/foo.cc:40:4: error: stray '\240' in program
 if (c == '*')
    ^
/in/foo.cc:40:7: error: stray '\302' in program
 if (c == '*')
       ^
/in/foo.cc:40:8: error: stray '\240' in program
 if (c == '*')
        ^
/in/foo.cc:40:11: error: stray '\302' in program
 if (c == '*')
           ^
/in/foo.cc:40:12: error: stray '\240' in program
 if (c == '*')
            ^
/in/foo.cc:42:7: error: stray '\302' in program
 return NULL;
       ^
/in/foo.cc:42:8: error: stray '\240' in program
 return NULL;
        ^
/in/foo.cc:44:6: error: stray '\302' in program

信息

递交者
类型
自测
题目
DS5-1 根据含空指针标记的先序序列创建二叉树
语言
C++
递交时间
2019-04-06 11:21:37
评测时间
2019-04-06 11:21:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes