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_13795798_24232.cpp:5:23: error: stray '#' in program
 using namespace std; // 1345
                       ^
0_0_13795798_24232.cpp:5:28: error: stray '#' in program
 using namespace std; // 1345
                            ^
0_0_13795798_24232.cpp:16:22: error: stray '#' in program
   for(i=1;i<=(int)(w/250.00)+1;i++)
                      ^
0_0_13795798_24232.cpp:18:12: error: stray '#' in program
    going=w/i;
            ^
0_0_13795798_24232.cpp:19:11: error: stray '#' in program
    rise=h/i;
           ^
0_0_13795798_24232.cpp:25:12: error: stray '#' in program
     maxg=w/i;
            ^
0_0_13795798_24232.cpp:29:19: error: stray '#' in program
     maxang=atan(h/(ming*i))/pi*180.00;
                   ^
0_0_13795798_24232.cpp:29:33: error: stray '#' in program
     maxang=atan(h/(ming*i))/pi*180.00;
                                 ^
0_0_13795798_24232.cpp:30:19: error: stray '#' in program
     minang=atan(h/(maxg*i))/pi*180.00;
                   ^
0_0_13795798_24232.cpp:30:33: error: stray '#' in program
     minang=atan(h/(maxg*i))/pi*180.00;
                                 ^
0_0_13795798_24232.cpp:5:24: error: expected unqualified-id before numeric constant
 using namespace std; // 1345
                        ^
0_0_13795798_24232.cpp:5:24: error: expected constructor, destructor, or type conversion before numeric constant
0_0_13795798_24232.cpp:5:29: error: expected unqualified-id before numeric constant
 using namespace std; // 1345
                             ^
0_0_13795798_24232.cpp:5:29: error: expected constructor, destructor, or type conversion before numeric constant
0_0_13795798_24232.cpp:5:33: error: expected unqualified-id before numeric constant
 using namespace std; // 1345
                                 ^
0_0_13795798_24232.cpp: In function 'int main()':
0_0_13795798_24232.cpp:16:23: error: invalid operands of types 'double' and 'int' to binary 'operator&'
   for(i=1;i<=(int)(w/250.00)+1;i++)
                       ^
0_0_13795798_24232.cpp:16:25: error: expected ')' before ';' token
   for(i=1;i<=(int)(w/250.00)+1;i++)
                         ^
0_0_13795798_24232.cpp:16:39: error: expected ';' before ')' token
   for(i=1;i<=(int)(w/250.00)+1;i++)
                                       ^
0_0_13795798_24232.cpp:37:1: error: expected '}' at end of input
 }
 ^
0_0_13795798_24232.cpp:37:1: error: expected '}' at end of input


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 18:48:46, Gzip enabled