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_36614055_13377.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_36614055_13377.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_36614055_13377.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_36614055_13377.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_36614055_13377.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_36614055_13377.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_36614055_13377.cpp: In member function 'void Trie::Insert(char*)':
0_0_36614055_13377.cpp:22:29: error: 'strlen' was not declared in this scope
         int len = strlen(buf);
                             ^
0_0_36614055_13377.cpp: In member function 'void Trie::Build()':
0_0_36614055_13377.cpp:33:9: error: 'queue' was not declared in this scope
         queue q;
         ^
0_0_36614055_13377.cpp:39:17: error: 'q' was not declared in this scope
                 q.push(Next[root][i]);
                 ^
0_0_36614055_13377.cpp:42:17: error: 'q' was not declared in this scope
         while (!q.empty()) {
                 ^
0_0_36614055_13377.cpp: In member function 'int Trie::Query(char*)':
0_0_36614055_13377.cpp:55:29: error: 'strlen' was not declared in this scope
         int len = strlen(buf), now = root, sum = 0;
                             ^
0_0_36614055_13377.cpp:57:13: error: 'now' was not declared in this scope
             now = Next[now][buf[i] - 'A'];
             ^
0_0_36614055_13377.cpp:60:17: error: 'sum' was not declared in this scope
                 sum += End[temp];
                 ^
0_0_36614055_13377.cpp:65:16: error: 'sum' was not declared in this scope
         return sum;
                ^
0_0_36614055_13377.cpp: In function 'int main()':
0_0_36614055_13377.cpp:72:19: error: 'scanf' was not declared in this scope
     scanf("%d", &t);
                   ^
0_0_36614055_13377.cpp:82:29: error: 'strlen' was not declared in this scope
         int len = strlen(buf), cnt = 0;
                             ^
0_0_36614055_13377.cpp:83:35: error: 'memset' was not declared in this scope
         memset(str, 0, sizeof(str));
                                   ^
0_0_36614055_13377.cpp:85:36: error: 'cnt' was not declared in this scope
             if (buf[i] != '[') str[cnt++] = buf[i];
                                    ^
0_0_36614055_13377.cpp:91:39: error: 'isdigit' was not declared in this scope
                     if (isdigit(buf[i])) sum = sum * 10 + buf[i] - '0';
                                       ^
0_0_36614055_13377.cpp:99:51: error: 'cnt' was not declared in this scope
                 for (int j = 0; j < sum; j++) str[cnt++] = c;
                                                   ^
0_0_36614055_13377.cpp:103:28: error: 'cnt' was not declared in this scope
         reverse(str, str + cnt);
                            ^
0_0_36614055_13377.cpp:103:31: error: 'reverse' was not declared in this scope
         reverse(str, str + cnt);
                               ^
0_0_36614055_13377.cpp:105:27: error: 'printf' was not declared in this scope
         printf("%d\n", ans);
                           ^


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.000000(s) query 1, Server time : 2025-02-18 23:29:05, Gzip enabled