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_32233016_17241.cpp: In function 'double calc()':
0_0_32233016_17241.cpp:59:11: error: invalid types 'char[int]' for array subscript
  op[++top2] = '#';
           ^
0_0_32233016_17241.cpp:79:26: error: invalid types 'char[int]' for array subscript
    while(priority(op[top2]) >= priority(str[i]))
                          ^
0_0_32233016_17241.cpp:81:33: error: invalid types 'char[int]' for array subscript
     if (str[i] == '#' && op[top2] == '#')
                                 ^
0_0_32233016_17241.cpp:87:19: error: invalid types 'char[int]' for array subscript
     op = op[top2--];
                   ^
0_0_32233016_17241.cpp:90:13: error: invalid types 'char[int]' for array subscript
    op[++top2] = str[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-07-06 02:17:25, Gzip enabled