You are viewing a single comment's thread. Return to all comments →
This is my code
try { cout<<Server::compute(A,B)<<endl; } catch(bad_alloc& error) { cout<<"Not enough Memory"<<endl; } catch(exception& error) { cout<<"Exception: "<<error.what()<<endl; } catch(...) { cout<<"Other Exception"<<endl; }
But the server gives wrong output for all the test cases, code works perfectly well for custom input, can someone please help me out...
Seems like cookies are disabled on this browser, please enable them to open this website
Exceptional Server
You are viewing a single comment's thread. Return to all comments →
This is my code
But the server gives wrong output for all the test cases, code works perfectly well for custom input, can someone please help me out...