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_24413422_30039.cpp: In function 'void mb()':
0_0_24413422_30039.cpp:13:20: error: 'strlen' was not declared in this scope
  int i,len=strlen(s),k=0;
                    ^
0_0_24413422_30039.cpp:19:9: error: 'k' was not declared in this scope
     str[k-1]='-';
         ^
0_0_24413422_30039.cpp:20:8: error: 'k' was not declared in this scope
    str[k++]=s[i+2];
        ^
0_0_24413422_30039.cpp:29:8: error: 'k' was not declared in this scope
    str[k++]='0';
        ^
0_0_24413422_30039.cpp:35:21: error: 'k' was not declared in this scope
     if(!isdigit(str[k-1]))
                     ^
0_0_24413422_30039.cpp:40:9: error: 'k' was not declared in this scope
     str[k++]=s[i];
         ^
0_0_24413422_30039.cpp:43:8: error: 'k' was not declared in this scope
    str[k++]=s[i];
        ^
0_0_24413422_30039.cpp:45:6: error: 'k' was not declared in this scope
  str[k]='\0';
      ^
0_0_24413422_30039.cpp: In function 'int main()':
0_0_24413422_30039.cpp:86: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_24413422_30039.cpp:94:8: error: 'a' was not declared in this scope
        a[k]=-(str[i-1]-'0');
        ^
0_0_24413422_30039.cpp:94:10: error: 'k' was not declared in this scope
        a[k]=-(str[i-1]-'0');
          ^
0_0_24413422_30039.cpp:96:8: error: 'a' was not declared in this scope
        a[k]=str[i-1]-'0';
        ^
0_0_24413422_30039.cpp:96:10: error: 'k' was not declared in this scope
        a[k]=str[i-1]-'0';
          ^
0_0_24413422_30039.cpp:101:8: error: 'a' was not declared in this scope
        a[k]=-1;
        ^
0_0_24413422_30039.cpp:101:10: error: 'k' was not declared in this scope
        a[k]=-1;
          ^
0_0_24413422_30039.cpp:103:8: error: 'a' was not declared in this scope
        a[k]=1;
        ^
0_0_24413422_30039.cpp:103:10: error: 'k' was not declared in this scope
        a[k]=1;
          ^
0_0_24413422_30039.cpp:106:7: error: 'b' was not declared in this scope
       b[k]=str[i+2]-'0';
       ^
0_0_24413422_30039.cpp:106:9: error: 'k' was not declared in this scope
       b[k]=str[i+2]-'0';
         ^
0_0_24413422_30039.cpp:108:7: error: 'b' was not declared in this scope
       b[k]=1;
       ^
0_0_24413422_30039.cpp:108:9: error: 'k' was not declared in this scope
       b[k]=1;
         ^
0_0_24413422_30039.cpp:109:6: error: 'k' was not declared in this scope
      k++;
      ^
0_0_24413422_30039.cpp:115:8: error: 'z' was not declared in this scope
        z+=-(str[i]-'0');
        ^
0_0_24413422_30039.cpp:117:8: error: 'z' was not declared in this scope
        z+=str[i]-'0';
        ^
0_0_24413422_30039.cpp:125:10: error: 'v' was not declared in this scope
      for(v=0;v<k;v++)
          ^
0_0_24413422_30039.cpp:125:16: error: 'k' was not declared in this scope
      for(v=0;v<k;v++)
                ^
0_0_24413422_30039.cpp:126:12: error: 'a' was not declared in this scope
       tmp+=a[v]*pow(j,b[v]);
            ^
0_0_24413422_30039.cpp:126:23: error: 'b' was not declared in this scope
       tmp+=a[v]*pow(j,b[v]);
                       ^
0_0_24413422_30039.cpp:127:16: error: 'z' was not declared in this scope
      if(i==tmp+z)
                ^
0_0_24413422_30039.cpp:129:11: error: 'v' was not declared in this scope
       for(v=1;v<=61;v++)
           ^
0_0_24413422_30039.cpp:130:12: error: 'l' was not declared in this scope
        for(l=0;l<61;l++)
            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 21:24:30, Gzip enabled