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_23920510_18441.cpp: In function 'void mb()':
0_0_23920510_18441.cpp:13:23: error: 'strlen' was not declared in this scope
     int i,len=strlen(s),k=0;  
                       ^
0_0_23920510_18441.cpp:19:21: error: 'k' was not declared in this scope
                 str[k-1]='-';  
                     ^
0_0_23920510_18441.cpp:20:17: error: 'k' was not declared in this scope
             str[k++]=s[i+2];  
                 ^
0_0_23920510_18441.cpp:29:17: error: 'k' was not declared in this scope
             str[k++]='0';  
                 ^
0_0_23920510_18441.cpp:35:33: error: 'k' was not declared in this scope
                 if(!isdigit(str[k-1]))  
                                 ^
0_0_23920510_18441.cpp:40:21: error: 'k' was not declared in this scope
                 str[k++]=s[i];  
                     ^
0_0_23920510_18441.cpp:43:17: error: 'k' was not declared in this scope
             str[k++]=s[i];  
                 ^
0_0_23920510_18441.cpp:45:9: error: 'k' was not declared in this scope
     str[k]='\0';  
         ^
0_0_23920510_18441.cpp: In function 'int main()':
0_0_23920510_18441.cpp:82:31: error: 'strlen' was not declared in this scope
             int len=strlen(str),a[5],b[5],z=0,k=0,i,j,v,l;  
                               ^
0_0_23920510_18441.cpp:90:29: error: 'a' was not declared in this scope
                             a[k]=-(str[i-1]-'0');  
                             ^
0_0_23920510_18441.cpp:90:31: error: 'k' was not declared in this scope
                             a[k]=-(str[i-1]-'0');  
                               ^
0_0_23920510_18441.cpp:92:29: error: 'a' was not declared in this scope
                             a[k]=str[i-1]-'0';  
                             ^
0_0_23920510_18441.cpp:92:31: error: 'k' was not declared in this scope
                             a[k]=str[i-1]-'0';  
                               ^
0_0_23920510_18441.cpp:97:29: error: 'a' was not declared in this scope
                             a[k]=-1;  
                             ^
0_0_23920510_18441.cpp:97:31: error: 'k' was not declared in this scope
                             a[k]=-1;  
                               ^
0_0_23920510_18441.cpp:99:29: error: 'a' was not declared in this scope
                             a[k]=1;  
                             ^
0_0_23920510_18441.cpp:99:31: error: 'k' was not declared in this scope
                             a[k]=1;  
                               ^
0_0_23920510_18441.cpp:102:25: error: 'b' was not declared in this scope
                         b[k]=str[i+2]-'0';  
                         ^
0_0_23920510_18441.cpp:102:27: error: 'k' was not declared in this scope
                         b[k]=str[i+2]-'0';  
                           ^
0_0_23920510_18441.cpp:104:25: error: 'b' was not declared in this scope
                         b[k]=1;  
                         ^
0_0_23920510_18441.cpp:104:27: error: 'k' was not declared in this scope
                         b[k]=1;  
                           ^
0_0_23920510_18441.cpp:105:21: error: 'k' was not declared in this scope
                     k++;  
                     ^
0_0_23920510_18441.cpp:111:29: error: 'z' was not declared in this scope
                             z+=-(str[i]-'0');  
                             ^
0_0_23920510_18441.cpp:113:29: error: 'z' was not declared in this scope
                             z+=str[i]-'0';  
                             ^
0_0_23920510_18441.cpp:121:25: error: 'v' was not declared in this scope
                     for(v=0;v<k;v++)  
                         ^
0_0_23920510_18441.cpp:121:31: error: 'k' was not declared in this scope
                     for(v=0;v<k;v++)  
                               ^
0_0_23920510_18441.cpp:122:30: error: 'a' was not declared in this scope
                         tmp+=a[v]*pow(j,b[v]);  
                              ^
0_0_23920510_18441.cpp:122:41: error: 'b' was not declared in this scope
                         tmp+=a[v]*pow(j,b[v]);  
                                         ^
0_0_23920510_18441.cpp:123:31: error: 'z' was not declared in this scope
                     if(i==tmp+z)  
                               ^
0_0_23920510_18441.cpp:125:29: error: 'v' was not declared in this scope
                         for(v=1;v<=61;v++)  
                             ^
0_0_23920510_18441.cpp:126:33: error: 'l' was not declared in this scope
                             for(l=0;l<61;l++)  
                                 ^


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-26 21:39:29, Gzip enabled