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_25044691_21069.cpp: In function 'int main()':
0_0_25044691_21069.cpp:44:46: error: 'substr' was not declared in this scope
    reget(sline,eline,command,substr(1,pos_s-1));
                                              ^
0_0_25044691_21069.cpp:59:22: error: 'e' was not declared in this scope
   for(int i=sline;i<=e.line;i++) {
                      ^
0_0_25044691_21069.cpp:62:12: error: lvalue required as left operand of assignment
    while(!p=-1) {
            ^
0_0_25044691_21069.cpp:63:39: error: 'replace' was not declared in this scope
     text[i]=replace(p,re_len,replaceby);
                                       ^
0_0_25044691_21069.cpp:64:28: error: 'reby' was not declared in this scope
     p=text[i].find(repla,p+reby.len);
                            ^


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-01 11:07:59, Gzip enabled