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_37490946_30493.cpp: In function 'int main()':
0_0_37490946_30493.cpp:105:113: error: expected ';' before ')' token
   else if(s[(n+1)>>1]=='?')printf("%lld\n",qpow(2,totr)*(ask(1,1,n>>1,locl,n>>1)+mod)%mod)%mod+qpow(2,tot-1)%mod);
                                                                                                                 ^
0_0_37490946_30493.cpp:106:75: error: expected ';' before ')' token
   else printf("%lld\n",qpow(2,totr)*(ask(1,1,n>>1,locl,n>>1)+mod)%mod)%mod);
                                                                           ^
0_0_37490946_30493.cpp:162:114: error: expected ';' before ')' token
    else if(s[(n+1)>>1]=='?')printf("%lld\n",qpow(2,totr)*(ask(1,1,n>>1,locl,n>>1)+mod)%mod)%mod+qpow(2,tot-1)%mod);
                                                                                                                  ^
0_0_37490946_30493.cpp:163:76: error: expected ';' before ')' token
    else printf("%lld\n",qpow(2,totr)*(ask(1,1,n>>1,locl,n>>1)+mod)%mod)%mod);
                                                                            ^


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 10:12:38, Gzip enabled