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_31487827_22136.cpp:8:2: error: stray '#' in program
     int a;
  ^
0_0_31487827_22136.cpp:8:9: error: stray '#' in program
     int a;
         ^
0_0_31487827_22136.cpp:9:2: error: stray '#' in program
     int b;
  ^
0_0_31487827_22136.cpp:9:9: error: stray '#' in program
     int b;
         ^
0_0_31487827_22136.cpp:10:2: error: stray '#' in program
     double c;
  ^
0_0_31487827_22136.cpp:10:9: error: stray '#' in program
     double c;
         ^
0_0_31487827_22136.cpp:14:2: error: stray '#' in program
     return a.c>b.c;
  ^
0_0_31487827_22136.cpp:14:9: error: stray '#' in program
     return a.c>b.c;
         ^
0_0_31487827_22136.cpp:19:2: error: stray '#' in program
    while(cin>>m>>n)
  ^
0_0_31487827_22136.cpp:19:9: error: stray '#' in program
    while(cin>>m>>n)
         ^
0_0_31487827_22136.cpp:20:2: error: stray '#' in program
    {
  ^
0_0_31487827_22136.cpp:20:9: error: stray '#' in program
    {
         ^
0_0_31487827_22136.cpp:21:2: error: stray '#' in program
        if(m==-1&&n==-1) break;
  ^
0_0_31487827_22136.cpp:21:9: error: stray '#' in program
        if(m==-1&&n==-1) break;
         ^
0_0_31487827_22136.cpp:21:16: error: stray '#' in program
        if(m==-1&&n==-1) break;
                ^
0_0_31487827_22136.cpp:21:23: error: stray '#' in program
        if(m==-1&&n==-1) break;
                       ^
0_0_31487827_22136.cpp:22:2: error: stray '#' in program
        for(int i=1;i<=n;++i)
  ^
0_0_31487827_22136.cpp:22:9: error: stray '#' in program
        for(int i=1;i<=n;++i)
         ^
0_0_31487827_22136.cpp:22:16: error: stray '#' in program
        for(int i=1;i<=n;++i)
                ^
0_0_31487827_22136.cpp:22:23: error: stray '#' in program
        for(int i=1;i<=n;++i)
                       ^
0_0_31487827_22136.cpp:23:2: error: stray '#' in program
       {
  ^
0_0_31487827_22136.cpp:23:9: error: stray '#' in program
       {
         ^
0_0_31487827_22136.cpp:23:16: error: stray '#' in program
       {
                ^
0_0_31487827_22136.cpp:24:2: error: stray '#' in program
           cin>>h[i].a>>h[i].b;
  ^
0_0_31487827_22136.cpp:24:9: error: stray '#' in program
           cin>>h[i].a>>h[i].b;
         ^
0_0_31487827_22136.cpp:24:16: error: stray '#' in program
           cin>>h[i].a>>h[i].b;
                ^
0_0_31487827_22136.cpp:24:23: error: stray '#' in program
           cin>>h[i].a>>h[i].b;
                       ^
0_0_31487827_22136.cpp:24:30: error: stray '#' in program
           cin>>h[i].a>>h[i].b;
                              ^
0_0_31487827_22136.cpp:25:2: error: stray '#' in program
           h[i].c=(double)h[i].a/h[i].b;
  ^
0_0_31487827_22136.cpp:25:9: error: stray '#' in program
           h[i].c=(double)h[i].a/h[i].b;
         ^
0_0_31487827_22136.cpp:25:16: error: stray '#' in program
           h[i].c=(double)h[i].a/h[i].b;
                ^
0_0_31487827_22136.cpp:25:23: error: stray '#' in program
           h[i].c=(double)h[i].a/h[i].b;
                       ^
0_0_31487827_22136.cpp:25:30: error: stray '#' in program
           h[i].c=(double)h[i].a/h[i].b;
                              ^
0_0_31487827_22136.cpp:27:2: error: stray '#' in program
       }
  ^
0_0_31487827_22136.cpp:27:9: error: stray '#' in program
       }
         ^
0_0_31487827_22136.cpp:27:16: error: stray '#' in program
       }
                ^
0_0_31487827_22136.cpp:28:2: error: stray '#' in program
        sort(h+1,h+n+1,cop);
  ^
0_0_31487827_22136.cpp:28:9: error: stray '#' in program
        sort(h+1,h+n+1,cop);
         ^
0_0_31487827_22136.cpp:28:16: error: stray '#' in program
        sort(h+1,h+n+1,cop);
                ^
0_0_31487827_22136.cpp:28:23: error: stray '#' in program
        sort(h+1,h+n+1,cop);
                       ^
0_0_31487827_22136.cpp:30:2: error: stray '#' in program
        f=1;d=0;
  ^
0_0_31487827_22136.cpp:30:9: error: stray '#' in program
        f=1;d=0;
         ^
0_0_31487827_22136.cpp:30:16: error: stray '#' in program
        f=1;d=0;
                ^
0_0_31487827_22136.cpp:30:23: error: stray '#' in program
        f=1;d=0;
                       ^
0_0_31487827_22136.cpp:32:2: error: stray '#' in program
        while(n)
  ^
0_0_31487827_22136.cpp:32:9: error: stray '#' in program
        while(n)
         ^
0_0_31487827_22136.cpp:32:16: error: stray '#' in program
        while(n)
                ^
0_0_31487827_22136.cpp:32:23: error: stray '#' in program
        while(n)
                       ^
0_0_31487827_22136.cpp:33:2: error: stray '#' in program
        {
  ^
0_0_31487827_22136.cpp:33:9: error: stray '#' in program
        {
         ^
0_0_31487827_22136.cpp:33:16: error: stray '#' in program
        {
                ^
0_0_31487827_22136.cpp:33:23: error: stray '#' in program
        {
                       ^
0_0_31487827_22136.cpp:34:2: error: stray '#' in program
            if(h[f].b<m) {m-=h[f].b;d+=h[f].a;f++;}
  ^
0_0_31487827_22136.cpp:34:9: error: stray '#' in program
            if(h[f].b<m) {m-=h[f].b;d+=h[f].a;f++;}
         ^
0_0_31487827_22136.cpp:34:16: error: stray '#' in program
            if(h[f].b<m) {m-=h[f].b;d+=h[f].a;f++;}
                ^
0_0_31487827_22136.cpp:34:23: error: stray '#' in program
            if(h[f].b<m) {m-=h[f].b;d+=h[f].a;f++;}
                       ^
0_0_31487827_22136.cpp:34:30: error: stray '#' in program
            if(h[f].b<m) {m-=h[f].b;d+=h[f].a;f++;}
                              ^
0_0_31487827_22136.cpp:34:37: error: stray '#' in program
            if(h[f].b<m) {m-=h[f].b;d+=h[f].a;f++;}
                                     ^
0_0_31487827_22136.cpp:35:2: error: stray '#' in program
            else {d+=1.0*(double)m*(double)h[f].a/(double)h[f].b;break;}
  ^
0_0_31487827_22136.cpp:35:9: error: stray '#' in program
            else {d+=1.0*(double)m*(double)h[f].a/(double)h[f].b;break;}
         ^
0_0_31487827_22136.cpp:35:16: error: stray '#' in program
            else {d+=1.0*(double)m*(double)h[f].a/(double)h[f].b;break;}
                ^
0_0_31487827_22136.cpp:35:23: error: stray '#' in program
            else {d+=1.0*(double)m*(double)h[f].a/(double)h[f].b;break;}
                       ^
0_0_31487827_22136.cpp:35:30: error: stray '#' in program
            else {d+=1.0*(double)m*(double)h[f].a/(double)h[f].b;break;}
                              ^
0_0_31487827_22136.cpp:35:37: error: stray '#' in program
            else {d+=1.0*(double)m*(double)h[f].a/(double)h[f].b;break;}
                                     ^
0_0_31487827_22136.cpp:37:2: error: stray '#' in program
        }
  ^
0_0_31487827_22136.cpp:37:9: error: stray '#' in program
        }
         ^
0_0_31487827_22136.cpp:37:16: error: stray '#' in program
        }
                ^
0_0_31487827_22136.cpp:37:23: error: stray '#' in program
        }
                       ^
0_0_31487827_22136.cpp:39:2: error: stray '#' in program
    }
  ^
0_0_31487827_22136.cpp:39:9: error: stray '#' in program
    }
         ^
0_0_31487827_22136.cpp:41:2: error: stray '#' in program
   return 0;
  ^
0_0_31487827_22136.cpp:8:3: error: expected unqualified-id before numeric constant
     int a;
   ^
0_0_31487827_22136.cpp:8:1: error: expected ';' at end of member declaration
     int a;
 ^
0_0_31487827_22136.cpp:8:3: error: expected unqualified-id before numeric constant
     int a;
   ^
0_0_31487827_22136.cpp:8:10: error: expected unqualified-id before numeric constant
     int a;
          ^
0_0_31487827_22136.cpp:8:8: error: expected ';' at end of member declaration
     int a;
        ^
0_0_31487827_22136.cpp:8:10: error: expected unqualified-id before numeric constant
     int a;
          ^
0_0_31487827_22136.cpp:9:3: error: expected unqualified-id before numeric constant
     int b;
   ^
0_0_31487827_22136.cpp:9:1: error: expected ';' at end of member declaration
     int b;
 ^
0_0_31487827_22136.cpp:9:3: error: expe


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-12-05 17:06:06, Gzip enabled