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_16572148_17973.cpp: In function 'int main()':
0_0_16572148_17973.cpp:54:32: error: too few arguments to function 'int judge(std::string, int&, int&, int&)'
            int d=0,x=judge(s2,d),l=0,r=0;
                                ^
0_0_16572148_17973.cpp:24:5: note: declared here
 int judge(string s,int &d,int &l,int &r){
     ^
0_0_16572148_17973.cpp:55:15: error: 'l' was not declared in this scope
            if(l==-1&&r==1){
               ^
0_0_16572148_17973.cpp:55:22: error: 'r' was not declared in this scope
            if(l==-1&&r==1){
                      ^


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-17 01:39:52, Gzip enabled