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_13129170_20666.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include cstdio
          ^
0_0_13129170_20666.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include cstring
          ^
0_0_13129170_20666.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include algorithm
          ^
0_0_13129170_20666.cpp: In function 'int getnum(char)':
0_0_13129170_20666.cpp:12:14: error: unable to find character literal operator 'operator""c' with 'char' argument
         if(c='0'c='9')return c-'0';
              ^
0_0_13129170_20666.cpp: In function 'char getchar(int)':
0_0_13129170_20666.cpp:16:12: error: 't10' was not declared in this scope
         if(t10)return '0'+t;
            ^
0_0_13129170_20666.cpp: In function 'int main()':
0_0_13129170_20666.cpp:24:31: error: 'scanf' was not declared in this scope
         while(scanf("%d%d",n,b)==2){
                               ^
0_0_13129170_20666.cpp:26:29: error: 'in' was not declared in this scope
                 for(int i=0;in;i++){
                             ^
0_0_13129170_20666.cpp:28:43: error: 'strlen' was not declared in this scope
                         len[i]=strlen(a[i]);
                                           ^
0_0_13129170_20666.cpp:29:47: error: 'max' was not declared in this scope
                         mxlen=max(mxlen,len[i]);
                                               ^
0_0_13129170_20666.cpp:31:29: error: 'imxlen' was not declared in this scope
                 for(int i=0;imxlen;i++)ans[i]='0';
                             ^
0_0_13129170_20666.cpp:34:37: error: 'in' was not declared in this scope
                         for(int i=0;in;i++){
                                     ^
0_0_13129170_20666.cpp:41:38: error: unable to find character literal operator 'operator""indmxlen' with 'char' argument
                 for(ind =0;ans[ind]=='0'indmxlen-1;ind++){}
                                      ^
0_0_13129170_20666.cpp:42:38: error: 'printf' was not declared in this scope
                 printf("%s\n",ans+ind);
                                      ^


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-06-30 16:38:23, Gzip enabled