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_17024076_26228.cpp:1:9: error: expected unqualified-id before 'if'
         if(n == 1 || n == 2){
         ^
0_0_17024076_26228.cpp:6:9: error: expected unqualified-id before 'for'
         for(int t=2*n-1; t>n+1; t-=2)
         ^
0_0_17024076_26228.cpp:6:26: error: 't' does not name a type
         for(int t=2*n-1; t>n+1; t-=2)
                          ^
0_0_17024076_26228.cpp:6:33: error: 't' does not name a type
         for(int t=2*n-1; t>n+1; t-=2)
                                 ^
0_0_17024076_26228.cpp:9:15: error: expected constructor, destructor, or type conversion before '(' token
         printf("%d\n", sum*func_pow(2, n/2)/func(n/2+n%2));
               ^


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-11-23 00:56:28, Gzip enabled