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