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_32959229_15805.cpp: In function 'int main()':
0_0_32959229_15805.cpp:57:34: error: 'index' was not declared in this scope
       if (priori[temp] >= priori[index])
                                  ^
0_0_32959229_15805.cpp:81:15: error: 'index' was not declared in this scope
        s.push(index);
               ^
0_0_32959229_15805.cpp:89:11: error: 's' was not declared in this scope
   while (!s.empty()) {
           ^
0_0_32959229_15805.cpp:92:15: error: 'num' was not declared in this scope
    double a = num.top();
               ^
0_0_32959229_15805.cpp:97:11: error: 'res' was not declared in this scope
    case 0:res = b + a;break;
           ^
0_0_32959229_15805.cpp:103:13: error: 'res' was not declared in this scope
    num.push(res);
             ^
0_0_32959229_15805.cpp:106:17: error: 'num' was not declared in this scope
   double result=num.top();
                 ^
0_0_32959229_15805.cpp: At global scope:
0_0_32959229_15805.cpp:109:2: error: expected unqualified-id before 'return'
  return 0;
  ^
0_0_32959229_15805.cpp:110:8: error: expected constructor, destructor, or type conversion before '(' token
  system("pause");
        ^
0_0_32959229_15805.cpp:111:1: error: expected declaration before '}' token
 }
 ^


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-04 12:16:44, Gzip enabled