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_29317202_1195.cpp: In function 'int main()':
0_0_29317202_1195.cpp:33:9: error: expected unqualified-id before 'or' token
  string or ;
         ^
0_0_29317202_1195.cpp:35:17: error: expected primary-expression before 'or' token
  while (cin>>n>>or)
                 ^
0_0_29317202_1195.cpp:35:19: error: expected primary-expression before ')' token
  while (cin>>n>>or)
                   ^
0_0_29317202_1195.cpp:37:17: error: expected primary-expression before 'or' token
   if (n == 0 && or == "END")break;
                 ^
0_0_29317202_1195.cpp:37:20: error: expected primary-expression before '==' token
   if (n == 0 && or == "END")break;
                    ^
0_0_29317202_1195.cpp:51:11: error: expected primary-expression before 'or' token
   cout << or << endl;
           ^
0_0_29317202_1195.cpp:51:14: error: expected primary-expression before '<<' token
   cout << or << endl;
              ^


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 10:23:48, Gzip enabled