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_21600530_24715.cpp:57:15: error: stray '#' in program
   while (ch!='Q'&&ch!='C') ch=getchar();
               ^
0_0_21600530_24715.cpp:57:21: error: stray '#' in program
   while (ch!='Q'&&ch!='C') ch=getchar();
                     ^
0_0_21600530_24715.cpp:57:32: error: stray '#' in program
   while (ch!='Q'&&ch!='C') ch=getchar();
                                ^
0_0_21600530_24715.cpp:57:38: error: stray '#' in program
   while (ch!='Q'&&ch!='C') ch=getchar();
                                      ^
0_0_21600530_24715.cpp:58:12: error: stray '#' in program
   if (ch=='Q'){
            ^
0_0_21600530_24715.cpp:58:18: error: stray '#' in program
   if (ch=='Q'){
                  ^
0_0_21600530_24715.cpp: In function 'int main()':
0_0_21600530_24715.cpp:57:16: error: lvalue required as unary '&' operand
   while (ch!='Q'&&ch!='C') ch=getchar();
                ^
0_0_21600530_24715.cpp:57:18: error: expected ')' before ';' token
   while (ch!='Q'&&ch!='C') ch=getchar();
                  ^
0_0_21600530_24715.cpp:57:19: error: 'Q' was not declared in this scope
   while (ch!='Q'&&ch!='C') ch=getchar();
                   ^
0_0_21600530_24715.cpp:57:33: error: lvalue required as unary '&' operand
   while (ch!='Q'&&ch!='C') ch=getchar();
                                 ^
0_0_21600530_24715.cpp:57:36: error: 'C' was not declared in this scope
   while (ch!='Q'&&ch!='C') ch=getchar();
                                    ^
0_0_21600530_24715.cpp:57:42: error: expected primary-expression before ')' token
   while (ch!='Q'&&ch!='C') ch=getchar();
                                          ^
0_0_21600530_24715.cpp:58:13: error: lvalue required as unary '&' operand
   if (ch=='Q'){
             ^
0_0_21600530_24715.cpp:58:15: error: expected ')' before ';' token
   if (ch=='Q'){
               ^
0_0_21600530_24715.cpp:58:22: error: expected primary-expression before ')' token
   if (ch=='Q'){
                      ^
0_0_21600530_24715.cpp:65:3: error: 'else' without a previous 'if'
   else{
   ^
0_0_21600530_24715.cpp:57:27: error: label 'ch' used but not defined
   while (ch!='Q'&&ch!='C') ch=getchar();
                           ^


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-29 09:50:34, Gzip enabled