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_32866576_26358.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866576_26358.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866576_26358.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866576_26358.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866576_26358.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866576_26358.cpp: In function 'int main()':
0_0_32866576_26358.cpp:23:18: error: 'scanf' was not declared in this scope
     scanf("%d",&t);
                  ^
0_0_32866576_26358.cpp:27:29: error: 'memset' was not declared in this scope
         memset(s,0,sizeof(s));
                             ^
0_0_32866576_26358.cpp:29:19: error: 'strlen' was not declared in this scope
         n=strlen(s);
                   ^
0_0_32866576_26358.cpp:35:9: error: expected primary-expression before 'if'
         if(flag==-1)printf("%d\n",ans1);
         ^
0_0_32866576_26358.cpp:35:9: error: expected ')' before 'if'
0_0_32866576_26358.cpp:35:35: error: 'ans1' was not declared in this scope
         if(flag==-1)printf("%d\n",ans1);
                                   ^
0_0_32866576_26358.cpp:35:39: error: 'printf' was not declared in this scope
         if(flag==-1)printf("%d\n",ans1);
                                       ^
0_0_32866576_26358.cpp:39:13: error: 'd' was not declared in this scope
             d=0;
             ^
0_0_32866576_26358.cpp:40:13: error: 'temp' was not declared in this scope
             temp=0;
             ^
0_0_32866576_26358.cpp:42:21: error: 'iB' was not declared in this scope
             for(i=0;iB[i2])i2++;
                     ^
0_0_32866576_26358.cpp:42:24: error: 'i2' was not declared in this scope
             for(i=0;iB[i2])i2++;
                        ^
0_0_32866576_26358.cpp:42:27: error: expected ';' before ')' token
             for(i=0;iB[i2])i2++;
                           ^
0_0_32866576_26358.cpp:43:17: error: 'else' without a previous 'if'
                 else {
                 ^
0_0_32866576_26358.cpp:47:27: error: 'i1' was not declared in this scope
                     while(i1//https://blog.csdn.net/cq_phqg/article/details/38403067
                           ^
0_0_32866576_26358.cpp:47:27: error: expected ')' at end of input
0_0_32866576_26358.cpp:47:27: error: expected statement at end of input
0_0_32866576_26358.cpp:47:27: error: expected '}' at end of input
0_0_32866576_26358.cpp:47:27: error: expected '}' at end of input
0_0_32866576_26358.cpp:47:27: error: expected '}' at end of input
0_0_32866576_26358.cpp:47:27: error: expected '}' at end of input


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-22 08:26:50, Gzip enabled