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_21595544_5963.cpp:35:18: error: stray '#' in program
   if(str1[i] == 'A')
                  ^
0_0_21595544_5963.cpp:35:24: error: stray '#' in program
   if(str1[i] == 'A')
                        ^
0_0_21595544_5963.cpp:39:23: error: stray '#' in program
   else if(str1[i] == 'C')
                       ^
0_0_21595544_5963.cpp:39:29: error: stray '#' in program
   else if(str1[i] == 'C')
                             ^
0_0_21595544_5963.cpp:43:23: error: stray '#' in program
   else if(str1[i] == 'G')
                       ^
0_0_21595544_5963.cpp:43:29: error: stray '#' in program
   else if(str1[i] == 'G')
                             ^
0_0_21595544_5963.cpp:47:23: error: stray '#' in program
   else if(str1[i] == 'T')
                       ^
0_0_21595544_5963.cpp:47:29: error: stray '#' in program
   else if(str1[i] == 'T')
                             ^
0_0_21595544_5963.cpp:51:23: error: stray '#' in program
   else if(str1[i] == '-')
                       ^
0_0_21595544_5963.cpp:51:29: error: stray '#' in program
   else if(str1[i] == '-')
                             ^
0_0_21595544_5963.cpp:58:18: error: stray '#' in program
   if(str2[i] == 'A')
                  ^
0_0_21595544_5963.cpp:58:24: error: stray '#' in program
   if(str2[i] == 'A')
                        ^
0_0_21595544_5963.cpp:62:23: error: stray '#' in program
   else if(str2[i] == 'C')
                       ^
0_0_21595544_5963.cpp:62:29: error: stray '#' in program
   else if(str2[i] == 'C')
                             ^
0_0_21595544_5963.cpp:66:23: error: stray '#' in program
   else if(str2[i] == 'G')
                       ^
0_0_21595544_5963.cpp:66:29: error: stray '#' in program
   else if(str2[i] == 'G')
                             ^
0_0_21595544_5963.cpp:70:23: error: stray '#' in program
   else if(str2[i] == 'T')
                       ^
0_0_21595544_5963.cpp:70:29: error: stray '#' in program
   else if(str2[i] == 'T')
                             ^
0_0_21595544_5963.cpp:74:23: error: stray '#' in program
   else if(str2[i] == '-')
                       ^
0_0_21595544_5963.cpp:74:29: error: stray '#' in program
   else if(str2[i] == '-')
                             ^
0_0_21595544_5963.cpp: In function 'void tran()':
0_0_21595544_5963.cpp:35:19: error: lvalue required as unary '&' operand
   if(str1[i] == 'A')
                   ^
0_0_21595544_5963.cpp:35:21: error: expected ')' before ';' token
   if(str1[i] == 'A')
                     ^
0_0_21595544_5963.cpp:35:22: error: 'A' was not declared in this scope
   if(str1[i] == 'A')
                      ^
0_0_21595544_5963.cpp:35:28: error: expected primary-expression before ')' token
   if(str1[i] == 'A')
                            ^
0_0_21595544_5963.cpp:39:3: error: 'else' without a previous 'if'
   else if(str1[i] == 'C')
   ^
0_0_21595544_5963.cpp:39:24: error: lvalue required as unary '&' operand
   else if(str1[i] == 'C')
                        ^
0_0_21595544_5963.cpp:39:26: error: expected ')' before ';' token
   else if(str1[i] == 'C')
                          ^
0_0_21595544_5963.cpp:39:27: error: 'C' was not declared in this scope
   else if(str1[i] == 'C')
                           ^
0_0_21595544_5963.cpp:39:33: error: expected primary-expression before ')' token
   else if(str1[i] == 'C')
                                 ^
0_0_21595544_5963.cpp:43:3: error: 'else' without a previous 'if'
   else if(str1[i] == 'G')
   ^
0_0_21595544_5963.cpp:43:24: error: lvalue required as unary '&' operand
   else if(str1[i] == 'G')
                        ^
0_0_21595544_5963.cpp:43:26: error: expected ')' before ';' token
   else if(str1[i] == 'G')
                          ^
0_0_21595544_5963.cpp:43:27: error: 'G' was not declared in this scope
   else if(str1[i] == 'G')
                           ^
0_0_21595544_5963.cpp:43:33: error: expected primary-expression before ')' token
   else if(str1[i] == 'G')
                                 ^
0_0_21595544_5963.cpp:47:3: error: 'else' without a previous 'if'
   else if(str1[i] == 'T')
   ^
0_0_21595544_5963.cpp:47:24: error: lvalue required as unary '&' operand
   else if(str1[i] == 'T')
                        ^
0_0_21595544_5963.cpp:47:26: error: expected ')' before ';' token
   else if(str1[i] == 'T')
                          ^
0_0_21595544_5963.cpp:47:27: error: 'T' was not declared in this scope
   else if(str1[i] == 'T')
                           ^
0_0_21595544_5963.cpp:47:33: error: expected primary-expression before ')' token
   else if(str1[i] == 'T')
                                 ^
0_0_21595544_5963.cpp:51:3: error: 'else' without a previous 'if'
   else if(str1[i] == '-')
   ^
0_0_21595544_5963.cpp:51:24: error: lvalue required as unary '&' operand
   else if(str1[i] == '-')
                        ^
0_0_21595544_5963.cpp:51:26: error: expected ')' before ';' token
   else if(str1[i] == '-')
                          ^
0_0_21595544_5963.cpp:51:30: error: lvalue required as unary '&' operand
   else if(str1[i] == '-')
                              ^
0_0_21595544_5963.cpp:51:33: error: expected primary-expression before ')' token
   else if(str1[i] == '-')
                                 ^
0_0_21595544_5963.cpp:58:19: error: lvalue required as unary '&' operand
   if(str2[i] == 'A')
                   ^
0_0_21595544_5963.cpp:58:21: error: expected ')' before ';' token
   if(str2[i] == 'A')
                     ^
0_0_21595544_5963.cpp:58:22: error: 'A' was not declared in this scope
   if(str2[i] == 'A')
                      ^
0_0_21595544_5963.cpp:58:28: error: expected primary-expression before ')' token
   if(str2[i] == 'A')
                            ^
0_0_21595544_5963.cpp:62:3: error: 'else' without a previous 'if'
   else if(str2[i] == 'C')
   ^
0_0_21595544_5963.cpp:62:24: error: lvalue required as unary '&' operand
   else if(str2[i] == 'C')
                        ^
0_0_21595544_5963.cpp:62:26: error: expected ')' before ';' token
   else if(str2[i] == 'C')
                          ^
0_0_21595544_5963.cpp:62:27: error: 'C' was not declared in this scope
   else if(str2[i] == 'C')
                           ^
0_0_21595544_5963.cpp:62:33: error: expected primary-expression before ')' token
   else if(str2[i] == 'C')
                                 ^
0_0_21595544_5963.cpp:66:3: error: 'else' without a previous 'if'
   else if(str2[i] == 'G')
   ^
0_0_21595544_5963.cpp:66:24: error: lvalue required as unary '&' operand
   else if(str2[i] == 'G')
                        ^
0_0_21595544_5963.cpp:66:26: error: expected ')' before ';' token
   else if(str2[i] == 'G')
                          ^
0_0_21595544_5963.cpp:66:27: error: 'G' was not declared in this scope
   else if(str2[i] == 'G')
                           ^
0_0_21595544_5963.cpp:66:33: error: expected primary-expression before ')' token
   else if(str2[i] == 'G')
                                 ^
0_0_21595544_5963.cpp:70:3: error: 'else' without a previous 'if'
   else if(str2[i] == 'T')
   ^
0_0_21595544_5963.cpp:70:24: error: lvalue required as unary '&' operand
   else if(str2[i] == 'T')
                        ^
0_0_21595544_5963.cpp:70:26: error: expected ')' before ';' token
   else if(str2[i] == 'T')
                          ^
0_0_21595544_5963.cpp:70:27: error: 'T' was not declared in this scope
   else if(str2[i] == 'T')
                           ^
0_0_21595544_5963.cpp:70:33: error: expected primary-expression before ')' token
   else if(str2[i] == 'T')
                                 ^
0_0_21595544_5963.cpp:74:3: error: 'else' without a previous 'if'
   else if(str2[i] == '-')
   ^
0_0_21595544_5963.cpp:74:24: error: lvalue required as unary '&' operand
   else if(str2[i] == '-')
                        ^
0_0_21595544_5963.cpp:74:26: error: expected ')' before ';' token
   else if(str2[i] == '-')
                          ^
0_0_21595544_5963.cpp:74:30: error: lvalue required as unary '&' operand
   else if(str2[i] == '-')
                              ^
0_0_21595544_5963.cpp:74:33: error: expected primary-expression before ')' token
   else if(str2[i] == '-')
                                 ^


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-17 00:27:35, Gzip enabled