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_28132713_24464.cpp: In function 'void mb()':
0_0_28132713_24464.cpp:28:20: error: 'strlen' was not declared in this scope
  int i,len=strlen(s),k=0;
                    ^
0_0_28132713_24464.cpp:40:9: error: 'k' was not declared in this scope
     str[k-1]='-';
         ^
0_0_28132713_24464.cpp:42:8: error: 'k' was not declared in this scope
    str[k++]=s[i+2];
        ^
0_0_28132713_24464.cpp:60:8: error: 'k' was not declared in this scope
    str[k++]='0';
        ^
0_0_28132713_24464.cpp:72:21: error: 'k' was not declared in this scope
     if(!isdigit(str[k-1]))
                     ^
0_0_28132713_24464.cpp:82:9: error: 'k' was not declared in this scope
     str[k++]=s[i];
         ^
0_0_28132713_24464.cpp:88:8: error: 'k' was not declared in this scope
    str[k++]=s[i];
        ^
0_0_28132713_24464.cpp:92:6: error: 'k' was not declared in this scope
  str[k]='\0';
      ^
0_0_28132713_24464.cpp: In function 'int main()':
0_0_28132713_24464.cpp:174:22: 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_28132713_24464.cpp:190:8: error: 'a' was not declared in this scope
        a[k]=-(str[i-1]-'0');
        ^
0_0_28132713_24464.cpp:190:10: error: 'k' was not declared in this scope
        a[k]=-(str[i-1]-'0');
          ^
0_0_28132713_24464.cpp:194:8: error: 'a' was not declared in this scope
        a[k]=str[i-1]-'0';
        ^
0_0_28132713_24464.cpp:194:10: error: 'k' was not declared in this scope
        a[k]=str[i-1]-'0';
          ^
0_0_28132713_24464.cpp:204:8: error: 'a' was not declared in this scope
        a[k]=-1;
        ^
0_0_28132713_24464.cpp:204:10: error: 'k' was not declared in this scope
        a[k]=-1;
          ^
0_0_28132713_24464.cpp:208:8: error: 'a' was not declared in this scope
        a[k]=1;
        ^
0_0_28132713_24464.cpp:208:10: error: 'k' was not declared in this scope
        a[k]=1;
          ^
0_0_28132713_24464.cpp:214:7: error: 'b' was not declared in this scope
       b[k]=str[i+2]-'0';
       ^
0_0_28132713_24464.cpp:214:9: error: 'k' was not declared in this scope
       b[k]=str[i+2]-'0';
         ^
0_0_28132713_24464.cpp:218:7: error: 'b' was not declared in this scope
       b[k]=1;
       ^
0_0_28132713_24464.cpp:218:9: error: 'k' was not declared in this scope
       b[k]=1;
         ^
0_0_28132713_24464.cpp:220:6: error: 'k' was not declared in this scope
      k++;
      ^
0_0_28132713_24464.cpp:232:8: error: 'z' was not declared in this scope
        z+=-(str[i]-'0');
        ^
0_0_28132713_24464.cpp:236:8: error: 'z' was not declared in this scope
        z+=str[i]-'0';
        ^
0_0_28132713_24464.cpp:252:10: error: 'v' was not declared in this scope
      for(v=0;v<k;v++)
          ^
0_0_28132713_24464.cpp:252:16: error: 'k' was not declared in this scope
      for(v=0;v<k;v++)
                ^
0_0_28132713_24464.cpp:254:12: error: 'a' was not declared in this scope
       tmp+=a[v]*pow(j,b[v]);
            ^
0_0_28132713_24464.cpp:254:23: error: 'b' was not declared in this scope
       tmp+=a[v]*pow(j,b[v]);
                       ^
0_0_28132713_24464.cpp:256:16: error: 'z' was not declared in this scope
      if(i==tmp+z)
                ^
0_0_28132713_24464.cpp:260:11: error: 'v' was not declared in this scope
       for(v=1;v<=61;v++)
           ^
0_0_28132713_24464.cpp:262:12: 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-07-05 02:30:55, Gzip enabled