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_20981655_22882.cpp:20:28: error: stray '#' in program
         for(int i=0; i<m; ++i) getline(cin,M[i]);
                            ^
0_0_20981655_22882.cpp:20:33: error: stray '#' in program
         for(int i=0; i<m; ++i) getline(cin,M[i]);
                                 ^
0_0_20981655_22882.cpp:21:28: error: stray '#' in program
         for(int i=0; i<n; ++i) getline(cin,N[i]);
                            ^
0_0_20981655_22882.cpp:21:33: error: stray '#' in program
         for(int i=0; i<n; ++i) getline(cin,N[i]);
                                 ^
0_0_20981655_22882.cpp:24:28: error: stray '#' in program
         for(int i=0; i<m; ++i)
                            ^
0_0_20981655_22882.cpp:24:33: error: stray '#' in program
         for(int i=0; i<m; ++i)
                                 ^
0_0_20981655_22882.cpp:25:32: error: stray '#' in program
             for(int j=0; j<n; ++j)
                                ^
0_0_20981655_22882.cpp:25:37: error: stray '#' in program
             for(int j=0; j<n; ++j)
                                     ^
0_0_20981655_22882.cpp:27:31: error: stray '#' in program
                 string t=M[i]+N[j];
                               ^
0_0_20981655_22882.cpp:30:25: error: stray '#' in program
                     ans++;
                         ^
0_0_20981655_22882.cpp:30:30: error: stray '#' in program
                     ans++;
                              ^
0_0_20981655_22882.cpp:34:25: error: stray '#' in program
         cout<<"Case "<<++kase<<": "<<ans<<endl;
                         ^
0_0_20981655_22882.cpp:34:30: error: stray '#' in program
         cout<<"Case "<<++kase<<": "<<ans<<endl;
                              ^
0_0_20981655_22882.cpp: In function 'int main()':
0_0_20981655_22882.cpp:20:29: error: lvalue required as unary '&' operand
         for(int i=0; i<m; ++i) getline(cin,M[i]);
                             ^
0_0_20981655_22882.cpp:20:31: error: expected ')' before ';' token
         for(int i=0; i<m; ++i) getline(cin,M[i]);
                               ^
0_0_20981655_22882.cpp:20:34: error: lvalue required as unary '&' operand
         for(int i=0; i<m; ++i) getline(cin,M[i]);
                                  ^
0_0_20981655_22882.cpp:20:37: error: 'i' was not declared in this scope
         for(int i=0; i<m; ++i) getline(cin,M[i]);
                                     ^
0_0_20981655_22882.cpp:21:29: error: lvalue required as unary '&' operand
         for(int i=0; i<n; ++i) getline(cin,N[i]);
                             ^
0_0_20981655_22882.cpp:21:31: error: expected ')' before ';' token
         for(int i=0; i<n; ++i) getline(cin,N[i]);
                               ^
0_0_20981655_22882.cpp:21:34: error: lvalue required as unary '&' operand
         for(int i=0; i<n; ++i) getline(cin,N[i]);
                                  ^
0_0_20981655_22882.cpp:21:38: error: expected ';' before ')' token
         for(int i=0; i<n; ++i) getline(cin,N[i]);
                                      ^
0_0_20981655_22882.cpp:24:29: error: lvalue required as unary '&' operand
         for(int i=0; i<m; ++i)
                             ^
0_0_20981655_22882.cpp:24:31: error: expected ')' before ';' token
         for(int i=0; i<m; ++i)
                               ^
0_0_20981655_22882.cpp:24:34: error: lvalue required as unary '&' operand
         for(int i=0; i<m; ++i)
                                  ^
0_0_20981655_22882.cpp:24:38: error: expected ';' before ')' token
         for(int i=0; i<m; ++i)
                                      ^
0_0_20981655_22882.cpp:25:26: error: 'j' was not declared in this scope
             for(int j=0; j<n; ++j)
                          ^
0_0_20981655_22882.cpp:25:33: error: lvalue required as unary '&' operand
             for(int j=0; j<n; ++j)
                                 ^
0_0_20981655_22882.cpp:25:38: error: lvalue required as unary '&' operand
             for(int j=0; j<n; ++j)
                                      ^
0_0_20981655_22882.cpp:25:42: error: expected ';' before ')' token
             for(int j=0; j<n; ++j)
                                          ^
0_0_20981655_22882.cpp:37:1: error: expected '}' at end of input
 }
 ^
0_0_20981655_22882.cpp:37:1: 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-23 10:08:43, Gzip enabled