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_25861431_2922.cpp:23:2: error: stray '#' in program
     pre[0]=1;
  ^
0_0_25861431_2922.cpp:23:9: error: stray '#' in program
     pre[0]=1;
         ^
0_0_25861431_2922.cpp:24:2: error: stray '#' in program
     for(int i=1;i<maxn;i++){
  ^
0_0_25861431_2922.cpp:24:9: error: stray '#' in program
     for(int i=1;i<maxn;i++){
         ^
0_0_25861431_2922.cpp:25:2: error: stray '#' in program
         pre[i]=(pre[i-1]<<1)%mod;
  ^
0_0_25861431_2922.cpp:25:9: error: stray '#' in program
         pre[i]=(pre[i-1]<<1)%mod;
         ^
0_0_25861431_2922.cpp:25:16: error: stray '#' in program
         pre[i]=(pre[i-1]<<1)%mod;
                ^
0_0_25861431_2922.cpp:25:23: error: stray '#' in program
         pre[i]=(pre[i-1]<<1)%mod;
                       ^
0_0_25861431_2922.cpp:26:2: error: stray '#' in program
     }
  ^
0_0_25861431_2922.cpp:26:9: error: stray '#' in program
     }
         ^
0_0_25861431_2922.cpp:27:2: error: stray '#' in program
     while(~sd(n)) {
  ^
0_0_25861431_2922.cpp:27:9: error: stray '#' in program
     while(~sd(n)) {
         ^
0_0_25861431_2922.cpp:28:2: error: stray '#' in program
         scanf("%s",str);
  ^
0_0_25861431_2922.cpp:28:9: error: stray '#' in program
         scanf("%s",str);
         ^
0_0_25861431_2922.cpp:28:16: error: stray '#' in program
         scanf("%s",str);
                ^
0_0_25861431_2922.cpp:28:23: error: stray '#' in program
         scanf("%s",str);
                       ^
0_0_25861431_2922.cpp:29:2: error: stray '#' in program
         int len=strlen(str);
  ^
0_0_25861431_2922.cpp:29:9: error: stray '#' in program
         int len=strlen(str);
         ^
0_0_25861431_2922.cpp:29:16: error: stray '#' in program
         int len=strlen(str);
                ^
0_0_25861431_2922.cpp:29:23: error: stray '#' in program
         int len=strlen(str);
                       ^
0_0_25861431_2922.cpp:30:2: error: stray '#' in program
         ll ans=1;
  ^
0_0_25861431_2922.cpp:30:9: error: stray '#' in program
         ll ans=1;
         ^
0_0_25861431_2922.cpp:30:16: error: stray '#' in program
         ll ans=1;
                ^
0_0_25861431_2922.cpp:30:23: error: stray '#' in program
         ll ans=1;
                       ^
0_0_25861431_2922.cpp:31:2: error: stray '#' in program
         int cnt=0;
  ^
0_0_25861431_2922.cpp:31:9: error: stray '#' in program
         int cnt=0;
         ^
0_0_25861431_2922.cpp:31:16: error: stray '#' in program
         int cnt=0;
                ^
0_0_25861431_2922.cpp:31:23: error: stray '#' in program
         int cnt=0;
                       ^
0_0_25861431_2922.cpp:32:2: error: stray '#' in program
         int lim=len>>1;
  ^
0_0_25861431_2922.cpp:32:9: error: stray '#' in program
         int lim=len>>1;
         ^
0_0_25861431_2922.cpp:32:16: error: stray '#' in program
         int lim=len>>1;
                ^
0_0_25861431_2922.cpp:32:23: error: stray '#' in program
         int lim=len>>1;
                       ^
0_0_25861431_2922.cpp:33:2: error: stray '#' in program
         for(int i=0;i<lim;i++){
  ^
0_0_25861431_2922.cpp:33:9: error: stray '#' in program
         for(int i=0;i<lim;i++){
         ^
0_0_25861431_2922.cpp:33:16: error: stray '#' in program
         for(int i=0;i<lim;i++){
                ^
0_0_25861431_2922.cpp:33:23: error: stray '#' in program
         for(int i=0;i<lim;i++){
                       ^
0_0_25861431_2922.cpp:34:2: error: stray '#' in program
             swap(str[i],str[len-i-1]);
  ^
0_0_25861431_2922.cpp:34:9: error: stray '#' in program
             swap(str[i],str[len-i-1]);
         ^
0_0_25861431_2922.cpp:34:16: error: stray '#' in program
             swap(str[i],str[len-i-1]);
                ^
0_0_25861431_2922.cpp:34:23: error: stray '#' in program
             swap(str[i],str[len-i-1]);
                       ^
0_0_25861431_2922.cpp:34:30: error: stray '#' in program
             swap(str[i],str[len-i-1]);
                              ^
0_0_25861431_2922.cpp:34:37: error: stray '#' in program
             swap(str[i],str[len-i-1]);
                                     ^
0_0_25861431_2922.cpp:35:2: error: stray '#' in program
         }
  ^
0_0_25861431_2922.cpp:35:9: error: stray '#' in program
         }
         ^
0_0_25861431_2922.cpp:35:16: error: stray '#' in program
         }
                ^
0_0_25861431_2922.cpp:35:23: error: stray '#' in program
         }
                       ^
0_0_25861431_2922.cpp:36:2: error: stray '#' in program
         for(int i=n-1;i>=0;i--){
  ^
0_0_25861431_2922.cpp:36:9: error: stray '#' in program
         for(int i=n-1;i>=0;i--){
         ^
0_0_25861431_2922.cpp:36:16: error: stray '#' in program
         for(int i=n-1;i>=0;i--){
                ^
0_0_25861431_2922.cpp:36:23: error: stray '#' in program
         for(int i=n-1;i>=0;i--){
                       ^
0_0_25861431_2922.cpp:37:2: error: stray '#' in program
             if(i>=len||str[i]=='0'){
  ^
0_0_25861431_2922.cpp:37:9: error: stray '#' in program
             if(i>=len||str[i]=='0'){
         ^
0_0_25861431_2922.cpp:37:16: error: stray '#' in program
             if(i>=len||str[i]=='0'){
                ^
0_0_25861431_2922.cpp:37:23: error: stray '#' in program
             if(i>=len||str[i]=='0'){
                       ^
0_0_25861431_2922.cpp:37:30: error: stray '#' in program
             if(i>=len||str[i]=='0'){
                              ^
0_0_25861431_2922.cpp:37:37: error: stray '#' in program
             if(i>=len||str[i]=='0'){
                                     ^
0_0_25861431_2922.cpp:38:2: error: stray '#' in program
                 cnt++;
  ^
0_0_25861431_2922.cpp:38:9: error: stray '#' in program
                 cnt++;
         ^
0_0_25861431_2922.cpp:38:16: error: stray '#' in program
                 cnt++;
                ^
0_0_25861431_2922.cpp:38:23: error: stray '#' in program
                 cnt++;
                       ^
0_0_25861431_2922.cpp:38:30: error: stray '#' in program
                 cnt++;
                              ^
0_0_25861431_2922.cpp:38:37: error: stray '#' in program
                 cnt++;
                                     ^
0_0_25861431_2922.cpp:38:44: error: stray '#' in program
                 cnt++;
                                            ^
0_0_25861431_2922.cpp:38:51: error: stray '#' in program
                 cnt++;
                                                   ^
0_0_25861431_2922.cpp:39:2: error: stray '#' in program
             }else{
  ^
0_0_25861431_2922.cpp:39:9: error: stray '#' in program
             }else{
         ^
0_0_25861431_2922.cpp:39:16: error: stray '#' in program
             }else{
                ^
0_0_25861431_2922.cpp:39:23: error: stray '#' in program
             }else{
                       ^
0_0_25861431_2922.cpp:39:30: error: stray '#' in program
             }else{
                              ^
0_0_25861431_2922.cpp:39:37: error: stray '#' in program
             }else{
                                     ^
0_0_25861431_2922.cpp:40:2: error: stray '#' in program
                 ans=ans*(pre[cnt]-1+mod)%mod*pre[i]%mod;
  ^
0_0_25861431_2922.cpp:40:9: error: stray '#' in program
                 ans=ans*(pre[cnt]-1+mod)%mod*pre[i]%mod;
         ^
0_0_25861431_2922.cpp:40:16: error: stray '#' in program
                 ans=ans*(pre[cnt]-1+mod)%mod*pre[i]%mod;
                ^
0_0_25861431_2922.cpp:40:23: error: stray '#' in program
                 ans=ans*(pre[cnt]-1+mod)%mod*pre[i]%mod;
                       ^
0_0_25861431_2922.cpp:40:30: error: stray '#' in program
    


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-09-28 01:21:37, Gzip enabled