You are viewing a single comment's thread. Return to all comments →
Here's my code i hope you find it usefull.
try { Server s; long long R = s.compute(A,B); cout << R << endl; } catch(bad_alloc&){ cout << "Not enough memory" << endl; } catch(exception &e){ cout << "Exception: " << e.what() << endl; } catch(...){ cout << "Other Exception" << endl; }
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 →
Here's my code i hope you find it usefull.