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_32262919_15446.cpp: In function 'void mb()':
0_0_32262919_15446.cpp:14:20: error: 'strlen' was not declared in this scope
  int i,len=strlen(s),k=0;
                    ^
0_0_32262919_15446.cpp:20:9: error: 'k' was not declared in this scope
     str[k-1]='-';
         ^
0_0_32262919_15446.cpp:21:8: error: 'k' was not declared in this scope
    str[k++]=s[i+2];
        ^
0_0_32262919_15446.cpp:30:8: error: 'k' was not declared in this scope
    str[k++]='0';
        ^
0_0_32262919_15446.cpp:36:21: error: 'k' was not declared in this scope
     if(!isdigit(str[k-1]))
                     ^
0_0_32262919_15446.cpp:41:9: error: 'k' was not declared in this scope
     str[k++]=s[i];
         ^
0_0_32262919_15446.cpp:44:8: error: 'k' was not declared in this scope
    str[k++]=s[i];
        ^
0_0_32262919_15446.cpp:46:6: error: 'k' was not declared in this scope
  str[k]='\0';
      ^
0_0_32262919_15446.cpp: In function 'int main()':
0_0_32262919_15446.cpp:87: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_32262919_15446.cpp:95:8: error: 'a' was not declared in this scope
        a[k]=-(str[i-1]-'0');
        ^
0_0_32262919_15446.cpp:95:10: error: 'k' was not declared in this scope
        a[k]=-(str[i-1]-'0');
          ^
0_0_32262919_15446.cpp:97:8: error: 'a' was not declared in this scope
        a[k]=str[i-1]-'0';
        ^
0_0_32262919_15446.cpp:97:10: error: 'k' was not declared in this scope
        a[k]=str[i-1]-'0';
          ^
0_0_32262919_15446.cpp:102:8: error: 'a' was not declared in this scope
        a[k]=-1;
        ^
0_0_32262919_15446.cpp:102:10: error: 'k' was not declared in this scope
        a[k]=-1;
          ^
0_0_32262919_15446.cpp:104:8: error: 'a' was not declared in this scope
        a[k]=1;
        ^
0_0_32262919_15446.cpp:104:10: error: 'k' was not declared in this scope
        a[k]=1;
          ^
0_0_32262919_15446.cpp:107:7: error: 'b' was not declared in this scope
       b[k]=str[i+2]-'0';
       ^
0_0_32262919_15446.cpp:107:9: error: 'k' was not declared in this scope
       b[k]=str[i+2]-'0';
         ^
0_0_32262919_15446.cpp:109:7: error: 'b' was not declared in this scope
       b[k]=1;
       ^
0_0_32262919_15446.cpp:109:9: error: 'k' was not declared in this scope
       b[k]=1;
         ^
0_0_32262919_15446.cpp:110:6: error: 'k' was not declared in this scope
      k++;
      ^
0_0_32262919_15446.cpp:116:8: error: 'z' was not declared in this scope
        z+=-(str[i]-'0');
        ^
0_0_32262919_15446.cpp:118:8: error: 'z' was not declared in this scope
        z+=str[i]-'0';
        ^
0_0_32262919_15446.cpp:126:10: error: 'v' was not declared in this scope
      for(v=0;v<k;v++)
          ^
0_0_32262919_15446.cpp:126:16: error: 'k' was not declared in this scope
      for(v=0;v<k;v++)
                ^
0_0_32262919_15446.cpp:127:12: error: 'a' was not declared in this scope
       tmp+=a[v]*pow(j,b[v]);
            ^
0_0_32262919_15446.cpp:127:23: error: 'b' was not declared in this scope
       tmp+=a[v]*pow(j,b[v]);
                       ^
0_0_32262919_15446.cpp:128:16: error: 'z' was not declared in this scope
      if(i==tmp+z)
                ^
0_0_32262919_15446.cpp:130:11: error: 'v' was not declared in this scope
       for(v=1;v<=61;v++)
           ^
0_0_32262919_15446.cpp:131: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-11-23 06:44:54, Gzip enabled