Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool pyramid::isValid(int x, int y){
- if( 0<x || x>=base ) return false;
- if( 0<y || y>=data[x].size() ) return false;
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement