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_20966211_22911.cpp:6:20: error: stray '#' in program
 const int maxn=1e6+10;
                    ^
0_0_20966211_22911.cpp:10:29: error: stray '#' in program
     else if(x%4==3)return x+1;
                             ^
0_0_20966211_22911.cpp:21:23: error: stray '#' in program
         for(i=0;i<n;i++)
                       ^
0_0_20966211_22911.cpp:21:28: error: stray '#' in program
         for(i=0;i<n;i++)
                            ^
0_0_20966211_22911.cpp:6:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
 const int maxn=1e6+10;
                     ^
0_0_20966211_22911.cpp:6:24: error: expected unqualified-id before numeric constant
 const int maxn=1e6+10;
                        ^
0_0_20966211_22911.cpp: In function 'int main()':
0_0_20966211_22911.cpp:21:26: error: expected ')' before ';' token
         for(i=0;i<n;i++)
                          ^
0_0_20966211_22911.cpp:21:29: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
                             ^
0_0_20966211_22911.cpp:21:32: error: expected primary-expression before ')' token
         for(i=0;i<n;i++)
                                ^


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-02 15:28:02, Gzip enabled