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_20960147_19055.cpp:42:27: error: stray '#' in program
         for(i = 0; i<n; i++)
                           ^
0_0_20960147_19055.cpp:42:32: error: stray '#' in program
         for(i = 0; i<n; i++)
                                ^
0_0_20960147_19055.cpp:49:32: error: stray '#' in program
             s[i].name[s[i].len++] = ' ';
                                ^
0_0_20960147_19055.cpp:49:37: error: stray '#' in program
             s[i].name[s[i].len++] = ' ';
                                     ^
0_0_20960147_19055.cpp:52:18: error: stray '#' in program
         sort(s,s+n,cmp);//先排序
                  ^
0_0_20960147_19055.cpp:55:27: error: stray '#' in program
         for(i = 0; i<m; i++)//m次查询
                           ^
0_0_20960147_19055.cpp:55:32: error: stray '#' in program
         for(i = 0; i<m; i++)//m次查询
                                ^
0_0_20960147_19055.cpp:61:20: error: stray '#' in program
             ss[len++] = ' ';
                    ^
0_0_20960147_19055.cpp:61:25: error: stray '#' in program
             ss[len++] = ' ';
                         ^
0_0_20960147_19055.cpp:63:33: error: stray '#' in program
             for(j = 0; j<len; j++)/
                                 ^
0_0_20960147_19055.cpp:63:38: error: stray '#' in program
             for(j = 0; j<len; j++)/
                                      ^
0_0_20960147_19055.cpp:66:27: error: stray '#' in program
                     ss[j]+=32;
                           ^
0_0_20960147_19055.cpp:69:33: error: stray '#' in program
             for(j = 0; j<len; j++)//将关键字内的单词都放入word
                                 ^
0_0_20960147_19055.cpp:69:38: error: stray '#' in program
             for(j = 0; j<len; j++)//将关键字内的单词都放入word
                                      ^
0_0_20960147_19055.cpp:73:42: error: stray '#' in program
                     word[l_word].name[ll++] = ss[j];
                                          ^
0_0_20960147_19055.cpp:73:47: error: stray '#' in program
                     word[l_word].name[ll++] = ss[j];
                                               ^
0_0_20960147_19055.cpp:79:28: error: stray '#' in program
                     l_word++;
                            ^
0_0_20960147_19055.cpp:79:33: error: stray '#' in program
                     l_word++;
                                 ^
0_0_20960147_19055.cpp:83:31: error: stray '#' in program
             for(j = 0; j<n; j++)
                               ^
0_0_20960147_19055.cpp:83:36: error: stray '#' in program
             for(j = 0; j<n; j++)
                                    ^
0_0_20960147_19055.cpp:87:42: error: stray '#' in program
                 for(k = 0; k<s[j].len; k++)//将句子里的单词放入word2
                                          ^
0_0_20960147_19055.cpp:87:47: error: stray '#' in program
                 for(k = 0; k<s[j].len; k++)//将句子里的单词放入word2
                                               ^
0_0_20960147_19055.cpp:91:49: error: stray '#' in program
                         word2[l_word2].name[ll2++] = s[j].name[k];
                                                 ^
0_0_20960147_19055.cpp:91:54: error: stray '#' in program
                         word2[l_word2].name[ll2++] = s[j].name[k];
                                                      ^
0_0_20960147_19055.cpp:95:49: error: stray '#' in program
                         word2[l_word2].name[ll2++] = s[j].name[k]+32;
                                                 ^
0_0_20960147_19055.cpp:95:54: error: stray '#' in program
                         word2[l_word2].name[ll2++] = s[j].name[k]+32;
                                                      ^
0_0_20960147_19055.cpp:95:75: error: stray '#' in program
                         word2[l_word2].name[ll2++] = s[j].name[k]+32;
                                                                           ^
0_0_20960147_19055.cpp:101:33: error: stray '#' in program
                         l_word2++;
                                 ^
0_0_20960147_19055.cpp:101:38: error: stray '#' in program
                         l_word2++;
                                      ^
0_0_20960147_19055.cpp:108:33: error: stray '#' in program
                         l_word2++;
                                 ^
0_0_20960147_19055.cpp:108:38: error: stray '#' in program
                         l_word2++;
                                      ^
0_0_20960147_19055.cpp:119:27: error: stray '#' in program
                         x++;
                           ^
0_0_20960147_19055.cpp:119:32: error: stray '#' in program
                         x++;
                                ^
0_0_20960147_19055.cpp:120:27: error: stray '#' in program
                         y++;
                           ^
0_0_20960147_19055.cpp:120:32: error: stray '#' in program
                         y++;
                                ^
0_0_20960147_19055.cpp:121:30: error: stray '#' in program
                         flag++;
                              ^
0_0_20960147_19055.cpp:121:35: error: stray '#' in program
                         flag++;
                                   ^
0_0_20960147_19055.cpp:126:27: error: stray '#' in program
                         y++;
                           ^
0_0_20960147_19055.cpp:126:32: error: stray '#' in program
                         y++;
                                ^
0_0_20960147_19055.cpp:132:46: error: stray '#' in program
                     for(z = 0;z<s[j].len-1;z++)
                                              ^
0_0_20960147_19055.cpp:132:51: error: stray '#' in program
                     for(z = 0;z<s[j].len-1;z++)
                                                   ^
0_0_20960147_19055.cpp: In function 'int main()':
0_0_20960147_19055.cpp:42:30: error: expected ')' before ';' token
         for(i = 0; i<n; i++)
                              ^
0_0_20960147_19055.cpp:42:33: error: lvalue required as unary '&' operand
         for(i = 0; i<n; i++)
                                 ^
0_0_20960147_19055.cpp:42:36: error: expected primary-expression before ')' token
         for(i = 0; i<n; i++)
                                    ^
0_0_20960147_19055.cpp:52:19: error: invalid operands of types 'node [1005]' and 'int' to binary 'operator&'
         sort(s,s+n,cmp);//先排序
                   ^
0_0_20960147_19055.cpp:52:27: error: expected ';' before ')' token
         sort(s,s+n,cmp);//先排序
                           ^
0_0_20960147_19055.cpp:55:30: error: expected ')' before ';' token
         for(i = 0; i<m; i++)//m次查询
                              ^
0_0_20960147_19055.cpp:55:33: error: lvalue required as unary '&' operand
         for(i = 0; i<m; i++)//m次查询
                                 ^
0_0_20960147_19055.cpp:55:36: error: expected primary-expression before ')' token
         for(i = 0; i<m; i++)//m次查询
                                    ^


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-12-02 15:05:38, Gzip enabled