ONP:getting compiler error

I m getting compiler error here…but it works fine on my compiler…
http://www.codechef.com/viewsolution/4923708

You have forgot to define the “prec” function in your code. I suppose it checks the precedence of operators. Define it first.

1 Like

thank you…
codechef compiler is little bit different from my turbo c compiler…
my compiler dont give this as an error…

Turbo Compiler is an old version of compiler. Use the standard gcc compiler.

can you send me the link?

//