F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_23047155_18033.c:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>  
         ^
0_0_23047155_18033.c:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstring>  
         ^
0_0_23047155_18033.c:3:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
 using namespace std;  
      ^
0_0_23047155_18033.c:3:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
 using namespace std;  
                     ^
0_0_23047155_18033.c:3:31: error: expected identifier or '(' before '&' token
 using namespace std;  
                               ^
0_0_23047155_18033.c:3:37: error: expected identifier or '(' before '&' token
 using namespace std;  
                                     ^
0_0_23047155_18033.c:4:1: error: expected identifier or '(' before '&' token
   
 ^
0_0_23047155_18033.c:4:7: error: expected identifier or '(' before '&' token
   
       ^
0_0_23047155_18033.c:5:4: error: expected identifier or '(' before '&' token
 int par[1005], degree[1005];  
    ^
0_0_23047155_18033.c:5:20: error: expected identifier or '(' before '&' token
 int par[1005], degree[1005];  
                    ^
0_0_23047155_18033.c:5:39: error: expected identifier or '(' before '&' token
 int par[1005], degree[1005];  
                                       ^
0_0_23047155_18033.c:5:45: error: expected identifier or '(' before '&' token
 int par[1005], degree[1005];  
                                             ^
0_0_23047155_18033.c:6:1: error: expected identifier or '(' before '&' token
   
 ^
0_0_23047155_18033.c:6:7: error: expected identifier or '(' before '&' token
   
       ^
0_0_23047155_18033.c:7:4: error: expected identifier or '(' before '&' token
 int finds(int x)  
    ^
0_0_23047155_18033.c:7:19: error: expected ';', ',' or ')' before '&' token
 int finds(int x)  
                   ^
0_0_23047155_18033.c:7:33: error: expected identifier or '(' before '&' token
 int finds(int x)  
                                 ^
0_0_23047155_18033.c:8:1: error: expected identifier or '(' before '{' token
 {  
 ^
0_0_23047155_18033.c:13:2: error: expected identifier or '(' before '&' token
 }  
  ^
0_0_23047155_18033.c:13:8: error: expected identifier or '(' before '&' token
 }  
        ^
0_0_23047155_18033.c:14:1: error: expected identifier or '(' before '&' token
   
 ^
0_0_23047155_18033.c:14:7: error: expected identifier or '(' before '&' token
   
       ^
0_0_23047155_18033.c:15:4: error: expected identifier or '(' before '&' token
 int main()  
    ^
0_0_23047155_18033.c: In function 'main':
0_0_23047155_18033.c:15:16: error: expected declaration specifiers before '&' token
 int main()  
                ^
0_0_23047155_18033.c:15:22: error: expected declaration specifiers before '&' token
 int main()  
                      ^
0_0_23047155_18033.c:16:3: error: 'nbsp' undeclared (first use in this function)
 {  
   ^
0_0_23047155_18033.c:16:3: note: each undeclared identifier is reported only once for each function it appears in
0_0_23047155_18033.c:17:28: error: expected identifier or '(' before '&' token
     int a, b, n, m, i;  
                            ^
0_0_23047155_18033.c:17:34: error: 'a' undeclared (first use in this function)
     int a, b, n, m, i;  
                                  ^
0_0_23047155_18033.c:17:42: error: 'b' undeclared (first use in this function)
     int a, b, n, m, i;  
                                          ^
0_0_23047155_18033.c:17:50: error: 'n' undeclared (first use in this function)
     int a, b, n, m, i;  
                                                  ^
0_0_23047155_18033.c:17:58: error: 'm' undeclared (first use in this function)
     int a, b, n, m, i;  
                                                          ^
0_0_23047155_18033.c:17:66: error: 'i' undeclared (first use in this function)
     int a, b, n, m, i;  
                                                                  ^
0_0_23047155_18033.c:18:31: error: 'cin' undeclared (first use in this function)
     while(cin >> n)  
                               ^
0_0_23047155_18033.c:18:39: error: expected ')' before ';' token
     while(cin >> n)  
                                       ^
0_0_23047155_18033.c:20:58: error: expected ')' before ';' token
         if(n == 0)  
                                                          ^
0_0_23047155_18033.c:21:73: error: break statement not within loop or switch
             break;  
                                                                         ^
0_0_23047155_18033.c:22:60: error: expected expression before '=' token
         for(i = 0; i <= n; i++)  
                                                            ^
0_0_23047155_18033.c:23:85: error: expected expression before '=' token
             par[i] = i;  
                                                                                     ^
0_0_23047155_18033.c:24:68: error: expected ')' before ';' token
         memset(degree, 0, sizeof(degree));  
                                                                    ^
0_0_23047155_18033.c:24:49: error: too few arguments to function 'memset'
         memset(degree, 0, sizeof(degree));  
                                                 ^
0_0_23047155_18033.c:25:58: error: expected expression before '>>' token
         cin >> m;  
                                                          ^
0_0_23047155_18033.c:26:60: error: expected expression before '=' token
         for(i = 0; i < m; i++)  
                                                            ^
0_0_23047155_18033.c:28:82: error: expected expression before '>>' token
             cin >> a >> b;  
                                                                                  ^
0_0_23047155_18033.c:28:97: error: expected expression before '>>' token
             cin >> a >> b;  
                                                                                                 ^
0_0_23047155_18033.c:29:175: error: expected expression before '/' token
             degree[a]++;               //该点度+1  
                                                                                                                                                                               ^
0_0_23047155_18033.c:29:175: error: stray '\270' in program
0_0_23047155_18033.c:29:175: error: stray '\303' in program
0_0_23047155_18033.c:29:175: error: stray '\265' in program
0_0_23047155_18033.c:29:175: error: stray '\343' in program
0_0_23047155_18033.c:29:175: error: stray '\266' in program
0_0_23047155_18033.c:29:175: error: stray '\310' in program
0_0_23047155_18033.c:31:76: error: expected identifier or '(' before '&' token
             int x = finds(a);  
                                                                            ^
0_0_23047155_18033.c:31:82: error: 'x' undeclared (first use in this function)
             int x = finds(a);  
                                                                                  ^
0_0_23047155_18033.c:31:89: error: expected expression before '=' token
             int x = finds(a);  
                                                                                         ^
0_0_23047155_18033.c:32:76: error: expected identifier or '(' before '&' token
             int y = finds(b);  
                                                                            ^
0_0_23047155_18033.c:32:82: error: 'y' undeclared (first use in this function)
             int y = finds(b); 


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-07 08:54:07, Gzip enabled