Advertisement
juaniisuar

Untitled

Jun 28th, 2015
468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. bool pyramid::isValid(int x, int y){
  2. if( 0<x || x>=base ) return false;
  3. if( 0<y || y>=data[x].size() ) return false;
  4.  
  5. return true;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement