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_13807185_1480.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13807185_1480.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13807185_1480.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13807185_1480.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13807185_1480.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13807185_1480.cpp: In function 'int zhuliu(int, int, int, Edge*, int)':
0_0_13807185_1480.cpp:35:4: error: expected ';' before 'in'
    in[i] = INF;
    ^
0_0_13807185_1480.cpp:35:15: error: expected ')' before ';' token
    in[i] = INF;
               ^
0_0_13807185_1480.cpp:37:4: error: expected ';' before 'if'
    if(edge[i].u != edge[i].v && edge[i].cost 
    ^
0_0_13807185_1480.cpp:37:4: error: expected primary-expression before 'if'
0_0_13807185_1480.cpp:37:4: error: expected ')' before 'if'
0_0_13807185_1480.cpp:38:4: error: expected ')' before '{' token
    {
    ^
0_0_13807185_1480.cpp:42:18: error: 'i' was not declared in this scope
    for(int i = 0;i 
                  ^
0_0_13807185_1480.cpp:46:27: error: 'memset' was not declared in this scope
    memset(id,-1,sizeof(id));
                           ^
0_0_13807185_1480.cpp:50:4: error: expected ';' before '{' token
    {
    ^
0_0_13807185_1480.cpp:50:4: error: expected primary-expression before '{' token
0_0_13807185_1480.cpp:50:4: error: expected ')' before '{' token
0_0_13807185_1480.cpp:52:8: error: 'resc' was not declared in this scope
     if(resc)return -1;
        ^
0_0_13807185_1480.cpp:68:5: error: expected ';' before 'if'
     if(id[i] == -1)
     ^
0_0_13807185_1480.cpp:68:5: error: expected primary-expression before 'if'
0_0_13807185_1480.cpp:68:5: error: expected ')' before 'if'
0_0_13807185_1480.cpp:71:4: error: expected ';' before '{' token
    {
    ^
0_0_13807185_1480.cpp:71:4: error: expected primary-expression before '{' token
0_0_13807185_1480.cpp:71:4: error: expected ')' before '{' token
0_0_13807185_1480.cpp:78:28: error: 'swap' was not declared in this scope
      swap(edge[i],edge[--m]);
                            ^
0_0_13807185_1480.cpp: In function 'bool ok(int)':
0_0_13807185_1480.cpp:96:21: error: expected ';' before ')' token
  for(int i = 0; i =x)
                     ^
0_0_13807185_1480.cpp:100:1: error: expected ';' before '}' token
 }
 ^
0_0_13807185_1480.cpp: In function 'int main()':
0_0_13807185_1480.cpp:103:23: error: 'scanf' was not declared in this scope
  int T,i;scanf("%d",&T);
                       ^
0_0_13807185_1480.cpp:107:3: error: expected ';' before 'int'
   int l = 1, r = 1000000;
   ^
0_0_13807185_1480.cpp:107:3: error: expected primary-expression before 'int'
0_0_13807185_1480.cpp:107:3: error: expected ')' before 'int'
0_0_13807185_1480.cpp:109:9: error: 'l' was not declared in this scope
   while(l 
         ^
0_0_13807185_1480.cpp:110:4: error: expected ')' before 'int'
    int mid = (l+r)1;
    ^
0_0_13807185_1480.cpp:110:17: error: 'r' was not declared in this scope
    int mid = (l+r)1;
                 ^
0_0_13807185_1480.cpp:111:10: error: 'mid' was not declared in this scope
    if(ok(mid))
          ^
0_0_13807185_1480.cpp:112:5: error: 'l' was not declared in this scope
     l = mid+1, ans = max(ans, mid);
     ^
0_0_13807185_1480.cpp:112:34: error: 'max' was not declared in this scope
     l = mid+1, ans = max(ans, mid);
                                  ^
0_0_13807185_1480.cpp:113:9: error: 'r' was not declared in this scope
    else r = mid-1;
         ^
0_0_13807185_1480.cpp:115:3: error: 'ans' was not declared in this scope
   ans==0 ? puts("streaming not possible."):printf("%d kbps\n",ans);
   ^
0_0_13807185_1480.cpp:115:42: error: 'puts' was not declared in this scope
   ans==0 ? puts("streaming not possible."):printf("%d kbps\n",ans);
                                          ^
0_0_13807185_1480.cpp:115:66: error: 'printf' was not declared in this scope
   ans==0 ? puts("streaming not possible."):printf("%d kbps\n",ans);
                                                                  ^
0_0_13807185_1480.cpp: At global scope:
0_0_13807185_1480.cpp:117:2: error: expected unqualified-id before 'return'
  return 0;
  ^
0_0_13807185_1480.cpp:118:1: error: expected declaration before '}' token
 }
 ^


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-06-26 21:01:10, Gzip enabled